2ality – JavaScript and more
ECMAScript proposal: <code>Promise.withResolvers()</code>
ECMAScript proposal: <code>Promise.withResolvers()</code>
2Ality
ECMAScript 2024 feature: `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(...).
2ality – JavaScript and more
ECMAScript proposal: duplicate named capturing groups for regular expressions
ECMAScript proposal: duplicate named capturing groups for regular expressions
2Ality
ECMAScript 2025 feature: duplicate named capturing groups for regular expressions
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.
2ality – JavaScript and more
ECMAScript proposal: Symbols as WeakMap keys
ECMAScript proposal: Symbols as WeakMap keys
2Ality
ECMAScript 2023 feature: symbols as WeakMap keys
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.