On 26 June 2024, the 127th Ecma General Assembly approved the ECMAScript 2024 language specification, which means that it’s officially a standard now.
This blog post explains what’s new.
In this blog post, we examine ArrayBuffer features that were introduced in ECMAScript 2024:
In this blog post, we take a look at the ECMAScript 2023 feature “Symbols as WeakMap keys” – which was proposed by Robin Ricard, Rick Button, Daniel Ehrenberg, Leo Balter, Caridy Patiño, Rick Waldron, and Ashley Claymore.
In this blog post, we take a look at the ECMAScript 2025 feature “Duplicate named capturing groups” which was proposed by Kevin Gibbons.
It’s a feature for regular expressions that enables us to use the same capturing group name more than once.
Promise.withResolvers()
In this blog post we take a look at the ECMAScript 2024 feature “Promise.withResolvers
” (proposed by Peter Klecha). It provides a new way of directly creating Promises, as an alternative to new Promise(...)
.
In this blog post, we examine the ECMAScript proposal “Set methods for JavaScript” by Michał Wadas, Sathya Gunasekara and Kevin Gibbons. It introduces new methods for Sets.
In this blog post, we look at the ECMAScript proposal “Iterator helpers” by Gus Caplan, Michael Ficarra, Adam Vandolder, Jason Orendorff, Kevin Gibbons, and Yulia Startsev. It introduces utility methods for working with iterable data: .map()
, .filter()
, .take()
, etc.
The style of the proposed API clashes with the style of the current iteration API. We’ll explore how we can fix that.
When it comes to TypeScript code:
In this blog post, we look at the latter.
Array.fromAsync()
This blog post is about the ECMAScript proposal “Array.fromAsync
for JavaScript” by J. S. Choi. It introduces a static method for converting asynchronous iterables to Arrays.
JSON.parse()
and JSON.stringify()
In this blog post, we look at the ECMAScript proposal “JSON.parse
source text access” by Richard Gibson and Mathias Bynens.
It gives access to source text to two kinds of callbacks:
JSON.parse()
and post-process the data it parses.JSON.stringify()
and pre-process data before it is stringified.We’ll examine how exactly that works and what you can do with this feature.