Ecma International approves ECMAScript 2022ECMAScript 2022 is officially a standard now! Let's see what's new in ECMAScript 2022.
ECMAScript 2022: Ergonomic brand check for private fieldsECMAScript 2022 provides a simpler way to check if an object has a given private field using the 'in' operator.
ECMAScript 2022 introduces at() method in Array, String, TypedArrayThe at() method takes an integer value and returns the element at that index. It allows both positive and negative integers. Negative integers denote counting back from the last item in the array.
ECMAScript: Top-level awaitWe can only use await operator within an async method. In ECMAScript 2022 we will be able to use it outside of the context of an async method in our modules.