What is ES2022?

ES2022 is a javascript version released in 2022. It is 13th version released. Lot of new features such as Object oriented such as static, private and public, setter and getter methods added

ECMAScript 2022 tutorials

EcmaScript2022 (ES13) is the latest JavaScript version going to release in 2022 year.

Es12 is latest JavaScript language, ECMAScript 2021 released in 2021 year. ES12. TC39 is the approving committee, to add features to JavaScript.

Prerequisite:

  • Basic JavaScript is required.

Latest ES13 or ECMAScript2022 Features in javascript

The following are the list of feature proposals in 2022.

  • Class Fields by adding public and private properties
  • Support of getter and setters for private properties
  • Static properties and private methods are introduced
  • updated to Regexp match expression
  • Await can be used outside async blocks

As you can check all the proposals and their release date in finished proposals