ECMAScript will be approved in July 2023, but four proposals for new language features have already reached stage four. WeakMap lets you extend an object with extra properties without worrying about creating a memory leak. Change Array by Copy gives developers new methods for sorting, reversing and overwriting data without mutating the array it’s stored.
•12m read time• From thenewstack.io
Table of contents
Small but HelpfulLarger ProposalsAlmost Time for TemporalDelivering DecoratorsMaking Resource Management ObviousBuilding on What’s New18 Comments
Sort: