ECMAScript 2021 version is expected to be released in the next year, and now that we are finalizing this dystopic 2020 is an excellent time to review the new functionality that will bring the ES12 version.
This list is based on ECMAScript proposal four, which means that these features will be in the next version.

Index

  • String.prototype.replaceAll()
  • Promise.any()
  • WeakRefs
  • Logical assignment operators
  • Numeric separators

#es2021 #javascript #es12 #javascript-development

New feature in JavaScript ES2021 (ES12)
32.85 GEEK