ECMAScript 2026 specification authorized


ECMA Worldwide has authorized ECMAScript 2026, the seventeenth version of the specification for the JavaScript programming language. The requirements group authorized the specification on June 30.

ECMAScript 2026 provides strategies for math, iterators, arrays, maps, encoding, and JSON. The additions embrace Math.sumPrecise for summing an iterable of numbers of various magnitude whereas minimizing precision loss; Iterator.concat for sequencing iterators; Array.fromAsync for setting up arrays from async iterables and different async sources; Error.isError for figuring out error objects; strategies to Map.prototype and WeakMap.prototype for offering a default worth to make use of throughout retrieval when a key just isn’t already current; strategies to Uint8Array for changing to and from strings of hexadecimal-based and base64-encoded binary information; a parameter to JSON.parse revivers to entry the matched phase of JSON supply; and JSON.rawJSON for fantastic management over JSON.stringify output for primitive values.