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.| 2ality.com
(Ad, please don’t block.)| exploringjs.com
(Ad, please don’t block.)| exploringjs.com
(Ad, please don’t block.)| exploringjs.com
(Ad, please don’t block.)| exploringjs.com
On 25 June 2025, the 129th Ecma General Assembly approved the ECMAScript 2025 language specification (press release), which means that it’s officially a standard now. This blog post explains what’s new.| 2ality.com
In ECMAScript 2025, JavaScript gets a class Iterator with iterator helper methods. This class conflicts with TypeScript’s existing types for iterators. In this blog post, we explore why that is and how TypeScript solves that conflict.| 2ality.com
(Ad, please don’t block.)| exploringjs.com
(Ad, please don’t block.)| exploringjs.com