ECMAScript 2023 Spec for JavaScript Includes New Methods for Arrays
Four new capabilities are planned for the JavaScript specification's next update, reports InfoWorld. Based on a list of finished proposals, InfoWorld expects the following in ECMAScript 2023:
- Array find from last, a proposal for .findlast() and .findLastIndex() methods on array and typed array...- Permitting symbols as keys in WeakMap keys, a proposal that extends the WeakMap API to allow the use of unique symbols as keys. Currently, WeakMaps are limited to allow only objects as keys.- Change
Read more »