TypeScript: supporting the new class `Iterator` at the type level
JavaScript 2025's class Iterator conflicts with TypeScript's existing iterator types, leading to necessary adjustments in how they manage type definitions.
I think the ergonomics of generators is growing on me.
JavaScript's recent syntactic sugar enhances programming by addressing real pain points, while the practical use of generator functions remains less established.
All Python iteration forms use the same iterator protocol; iterating over an object yields its defined iteration items (e.g., dictionary yields keys, string yields characters).
Ecma International approves ECMAScript 2025: What's new?
ECMAScript 2025 introduces major enhancements, including import attributes for JSON modules and new iterator methods, improving the efficiency and usability of iterables.