ECMAScript 12th Edition (ES12 / ECMAScript 2021)
26 June 2022 (Updated 26 June 2022)
ES12 (or ECMAScript 2021) added features such as:
String.prototype.replaceAll
Promise.any
AggregateError
- Logical assignment operators:
??=
,&&=
,||=
) - Separation for numeric fields (e.g.,
1_000
) - More reliable implementation of
Array.prototype.sort
Tagged:
ECMAScript
Thanks for your comment 🙏. Once it's approved, it will appear here.
Leave a comment