
Fundamentals
What Was New in ES2025 Iterator Helpers and Set Methods
ES2025 added iterator helpers, Set methods, Promise.try, RegExp.escape, regex modifiers, duplicate named groups and Float16Array. See each with real output.
8 min read
Tag
2 posts

ES2025 added iterator helpers, Set methods, Promise.try, RegExp.escape, regex modifiers, duplicate named groups and Float16Array. See each with real output.

Import attributes add a with clause to import, and with type json you load a JSON file as a module with one default export. See the syntax and errors.