sajad torkamani

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

Sources / related

Tagged: ECMAScript