ECMAScript compatibility

This page describes the compatibility of Jscrambler's Code Integrity with ECMAScript versions (i.e., editions of the JavaScript standard). Different versions of Jscrambler support different versions of ECMAScript, so make sure to read the documentation for the version you are using.

Jscrambler Code Integrity fully supports ECMAScript up to ECMAscript 2022 (ES13). New APIs are generally supported automatically without the need for any updates to Code Integrity, but new syntax features may require updates to be supported.

Support for ECMAScript 2015 (ES6)

Code Integrity supports all of ECMAScript 2015.

Feature Supported Notes
Arrow Functions (=>) Yes
Classes Yes
Enhanced Object Literals Yes
Template Strings Yes Tagged template strings are not currently protected*.
Destructuring Yes
Default parameters Yes
Rest parameters Yes
Spread (Functions and Arrays) Yes
let/const Yes
for ... of Yes
Generators (function*/yield) Yes
Modules (import/export) Yes
.mjs and .cjs extensions Yes
Module on html Yes

Support for ECMAScript 2016 (ES7)

Code Integrity supports all of ECMAScript 2016.

Feature Supported Notes
Exponentiation (**) Yes

Support for ECMAScript 2017 (ES8)

Code Integrity supports all of ECMAScript 2017.

Feature Supported Notes
async/await Yes
Trailing Commas Yes

Support for ECMAScript 2018 (ES9)

Code Integrity supports all of ECMAScript 2018.

Feature Supported Notes
Object Rest/Spread Yes
for await ... of Yes
Async generators (async function*) Yes
Dot All (/s in regular expression literals) Yes

Support for ECMAScript 2019 (ES10)

Code Integrity supports all of ECMAScript 2019.

Feature Supported Notes
Optional catch binding Yes

Support for ECMAScript 2020 (ES11)

Code Integrity supports all of ECMAScript 2020.

Feature Supported Notes
Nullish coalescing operator Yes
Optional chaining operator Yes
Import meta object Yes
Dynamic Import Yes
BigInt literals (1n) Yes
export * as namespace Yes

Support for ECMAScript 2021 (ES12)

Code Integrity supports all of ECMAScript 2021.

Feature Supported Notes
Logical AND assignment (&&=) Yes
Logical OR assignment (||=) Yes
Nullish coalescing assignment (??=) Yes
Numeric separators (123_456) Yes

Support for ECMAScript 2022 (ES13)

Code Integrity supports all of ECMAScript 2022.

Feature Supported Notes
Top-level await Yes
Static class fields Yes
Private class fields Yes
Class fields Yes
Static blocks Yes
RegExp hasIndices (/d) Yes