ECMAScript 2022 is the version of ECMAScript corresponding to this year. There are some new features that have been incorporated and could be used in our javascript projects.
- Top-level await
- Private instance fields, methods, and accessors
- Static class fields and methods
- Array, String, and TypedArray: .at() Method
- Object: .hasOwn()