Share

ECMAScript 2023 spec for JavaScript finalized

ECMAScript 2023, an update to the official specification for the JavaScript programming language, has been approved by ECMA International. The new spec adds new methods for searching and changing arrays, extends the WeakMap API to allow unique symbols, and introduces some standardization for the use of hashbangs.

Approved on June 27, the ECMAScript 2023 specification cites the following synopsis of improvements:

ECMAScript 2023, the 14th edition, introduced the toSorted, toReversed, with, findLast, and findLastIndex methods on Array.prototype and TypedArray.prototype, as well as the toSpliced method on Array.prototype; added support for #! comments at the beginning of files to better facilitate executable ECMAScript files; and allowed the use of most Symbols as keys in weak collections.

To read this article in full, please click here

Author: . [Source Link (*), InfoWorld]

Shop with us!

You may also like...

Leave a Reply