What’s new in ECMAScript?
summary
ECMAScript 2022 finalizes features that are already landing in engines: private class fields and static class blocks for initializer logic and encapsulation, ergonomic brand checks to test private slots, regexp match indices giving start/end offsets, top-level await for module initialization, relative indexing (negative indices) for arrays/strings, standardized Object.hasOwn and Error.cause for chained errors. The TC39 four-stage pipeline governs proposals and many items are at stage 4 and shipping in browsers and Node.js now.
AI-written summary · about
chapters (7)
- 0:00Intro
- 0:12TC39: Technical Committee 39
- 1:32Class Fields
- 2:04Class Static Block
- 2:29Ergonomic Brand Checks
- 3:24Top-level await
- 4:47Error Cause
related talks
33mESNext: Proposals to look forward to
26mECMAScript 6 is so 2015! Meet ES2016
43mWhat's up TC39
47mECMAScript: latest and upcoming features
11mWhat's cooking for JavaScript: a look at current TC39 proposals
37mWhat's New in JavaScript: Highlights from ECMAScript 2025
01h 08mECMAScript 6: A Better JavaScript for the Ambient Computing Era
32mWhat's Coming Next to JavaScript?
