ECMAScript 2020 (ES2020) is the 11th version of the ECMAScript language. It adds many important new features, including dynamic imports, globalThis, optional chaining, arbitrary precision BigInts and Promise.allSettled. Only use this tag where the question specifically relates to new features or technical changes provided in ECMAScript 2020.
ECMAScript 2020 (ES2020) is the 11th version of the ecmascript language.
The following proposals have been merged:
String.prototype.matchAll
- Dynamic
import()
import.meta
metapropertyBigInt
s (arbitrary precision integers)Promise.allSettled
globalThis
- Optional chaining (
?.
) - Nullish-coalescing operator (
??
) for..in
enumeration order specification