---
schema_version: "1"
id: 0c14a88d1db8e98b051bb5cd3f95219dab1eb155da302b8a7b7ea77001970c64
title: Get More JavaScript Features and Functionality with Compatibility Mode 22.7
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/rn_b2c_compatibility_mode_22_7_je.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.rn_b2c_compatibility_mode_22_7_je.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 6714a679199acaf53998ce6b5830362d5e6c8ba9e3717bcd7ea23d1683547a85
description: With compatibility mode 22.7, the B2C Commerce server-side JavaScript engine supports more elements from ECMAScript 6 (ES6) and later. You can access new and expanded features, including top-level built-in types and methods for existing classes.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Get More JavaScript Features and Functionality with Compatibility Mode 22.7

With compatibility mode 22.7, the B2C Commerce server-side JavaScript engine supports more elements from ECMAScript 6 (ES6) and later. You can access new and expanded features, including top-level built-in types and methods for existing classes.

#### See Also

- [Compatibility Mode Changes](https://documentation.b2c.commercecloud.salesforce.com/DOC3/topic/com.demandware.dochelp/content/b2c_commerce/topics/site_development/b2c_compatibility_mode_considerations.html)