ECMA Approves ECMAScript 2026, Adding 17th Edition Methods for JSON, Arrays and Math
Updated
Updated · InfoWorld · Jul 7
ECMA Approves ECMAScript 2026, Adding 17th Edition Methods for JSON, Arrays and Math
1 articles · Updated · InfoWorld · Jul 7
Summary
June 30 approval made ECMAScript 2026 the 17th edition of the JavaScript specification, expanding the language with new methods across math, iterators, arrays, maps, encoding and JSON.
Math.sumPrecise aims to reduce precision loss when summing numbers of different magnitudes, while Iterator.concat and Array.fromAsync add built-in tools for sequencing iterators and building arrays from async sources.
The update also adds Error.isError, default-value retrieval methods for Map.prototype and WeakMap.prototype, and Uint8Array conversions to and from hexadecimal and base64-encoded binary strings.
JSON changes include a new reviver parameter in JSON.parse to expose the matched source segment and JSON.rawJSON for tighter control over JSON.stringify output for primitive values.