There were several items on the agenda, this post focuses on feature proposals and their progress from the 94th TC39 meeting.
Change Array by Copy: Provides additional methods on
TypedArray.prototypeto enable changes on the array by returning a new copy of it with the change.
Intl.NumberFormat V3: Additional features for
Intl.NumberFormatto solve key pain points.
Symbols as WeakMap keys: Permit Symbols as keys in
WeakMaps, entries in
WeakRefs, and registered in
- ArrayBuffer transfer: proposal to add ‘ArrayBuffer.prototype.transfer’ (transfer, transferToFixedLength, detached)
- Import Assertions: Proposal for syntax to import ES modules with assertions (P.S: Important to note import assertions was demoted from stage 3) Details
- Intl era/monthCode: To specify necessary details about era, eraYear and monthCode usage with Temporal in internationalization setting (for calendars other than iso8601)
- Symbol Predicates: proposal to introduce ways to differentiate symbols.
Proto pollution mitigation:
Symbol.protoproposal to prevent prototype pollution by introducing a secure mode that only allows prototypes to be accessed through methods or symbol keys, not string property keys. This aims to increase security by making it harder for prototypes to be manipulated maliciously.
P.S: “Iterator helpers” was split into sync (stage 3) and async (stage 2).
Top comments (0)