If you read anything about ES2026 that was published before this summer, here is the uncomfortable truth: a lot of it is wrong. Dozens of articles — including some from otherwise careful publications — confidently announced that Temporal, the long-awaited replacement for Date, had made it into ECMAScript 2026. It did not. We went back to the actual sources: the spec was approved by Ecma International on 30 June 2026 as the 17th edition of ECMA-262, and it contains exactly seven features. Temporal is not one of them.
This guide is the correction and the practical summary in one. For each of the seven features you get what it does, the workaround it replaces, and a snippet you can run immediately — no build step, no install. At the end there is a single feature-detection script that tells you what your own browser supports in one run, which is more useful than any compatibility table you will read this month.
The seven features that made the 2026 cut
Every feature below reached Stage 4 before the specification cutoff and is part of the approved edition:
- Array.fromAsync — turn any async iterable (or iterator of promises) into an array in one call
- Error.isError — the missing typeof-style check: is this value actually an Error?
- Math.sumPrecise — sum numbers without floating-point drift
- Uint8Array base64 and hex methods — toBase64(), toHex(), fromBase64(), fromHex()
- Iterator.concat — chain lazy iterators without building intermediate arrays
- JSON.parse source text access — revivers finally see the raw source text, and JSON.rawJSON() feeds it back
- Upsert on Map — map.getOrInsert(key, fallback) and its computed sibling replace the has/get/set dance
JSON.parse source text access: the round-trip fix eight years in the making
This is the feature anyone who builds JSON tooling has been waiting for. Until now, a reviver in JSON.parse only received the parsed value — if your JSON contained the number 19.99, JavaScript gave you the closest double, and details like trailing zeros or extra precision were unrecoverable. Round-tripping a document through parse-and-stringify could silently change its digits.
ES2026 hands the reviver a third argument: the raw source text of that value. Combined with the new JSON.rawJSON(), you can keep the original bytes exactly as the author wrote them:
const raw = '{"price": 19.990000000000001}';
const doc = JSON.parse(raw, (key, value, source) =>
key === "price" ? JSON.rawJSON(source) : value
);
JSON.stringify(doc);
// '{"price":19.990000000000001}' — the original digits surviveArray.fromAsync and Iterator.concat: iteration grows up
Iterator.concat is the sync counterpart for the iterator helpers that landed in ES2025: it chains several lazy iterators into one, without materialising any of them into arrays first. Where you used to spread three collections into a new array just to loop over them once, you can now chain them for free:
for (const item of Iterator.concat(a.values(), b.values(), c.values())) {
process(item); // walks a, then b, then c — nothing copied
}Error.isError, Math.sumPrecise, and the small fixes that matter
Checking whether a caught value is a real Error has always been awkward — typeof x === "object" says nothing, and x instanceof Error breaks across realms. ES2026 adds the obvious thing: Error.isError(value). One caveat we verified while writing this: as of December 2026 it has shipped in Chromium and Firefox but is still missing in Safari, so feature-detect it for now (the detector below does exactly that).
Math.sumPrecise fixes the other small eternal annoyance — summing floats. The classic reduce produces 0.6000000000000001 for 0.1 + 0.2 + 0.3; sumPrecise returns the correctly rounded 0.6. Python developers have had math.fsum for years; JavaScript now has the same idea built in:
[0.1, 0.2, 0.3].reduce((a, b) => a + b, 0); // 0.6000000000000001
Math.sumPrecise([0.1, 0.2, 0.3]); // 0.6Uint8Array grows base64 and hex methods
Converting binary data to text used to mean btoa() gymnastics that only worked for Latin-1, or hand-rolled hex loops. The typed-array spec now includes four direct methods — toBase64(), toHex(), and their fromBase64()/fromHex() static counterparts. For client-side tools that move data around without a server (the whole idea behind this site's privacy model), this removes some of the last reasons to copy helper functions from Stack Overflow:
const bytes = new Uint8Array([72, 101, 108, 108, 111]);
bytes.toBase64(); // "SGVsbG8="
bytes.toHex(); // "48656c6c6f"
Uint8Array.fromBase64("SGVsbG8="); // Uint8Array [72, 101, 108, 108, 111]The Map upgrade nobody is talking about: upsert
The least glamorous addition may end up the most used. getOrInsert(key, fallback) returns the existing value for a key or stores the fallback first — collapsing the three-line has/get/set pattern that appears in essentially every word-count, cache and grouping function ever written. There is also getOrInsertComputed(key, fn) for cases where the default is expensive to build:
// Before ES2026
if (!counts.has(word)) counts.set(word, 0);
counts.set(word, counts.get(word) + 1);
// ES2026
counts.set(word, counts.getOrInsert(word, 0) + 1);Run this in your browser: the ES2026 detector
Compatibility tables go stale; your browser does not. Open the JavaScript playground, paste this, and run — you get your engine's ES2026 report in milliseconds. On current Chrome, Edge, Firefox and most mobile browsers you should see seven green lines; on Safari, expect Error.isError to be the missing one for now.
const checks = {
"Array.fromAsync": () => Array.fromAsync,
"Error.isError": () => Error.isError,
"Math.sumPrecise": () => Math.sumPrecise,
"Uint8Array.toBase64": () => Uint8Array.prototype.toBase64,
"Uint8Array.toHex": () => Uint8Array.prototype.toHex,
"Iterator.concat": () => Iterator.concat,
"JSON.rawJSON": () => JSON.rawJSON,
"Map.getOrInsert": () => Map.prototype.getOrInsert,
};
for (const [name, get] of Object.entries(checks)) {
console.log((get() ? "OK " : "MISS ") + name);
}What is NOT in ES2026 (and why so many articles get it wrong)
Temporal and Explicit Resource Management (the "using" declarations) are the two proposals everyone expected in 2026 — and both missed the edition. The mechanism is simple once you know it: TC39 finishes proposals at its meetings, but each annual edition only incorporates proposals that reached Stage 4 before its specification cutoff. Both proposals were finalised after that cutoff, appear in TC39's own finished-proposals table with an expected publication year of 2027, and will ship in ES2027 instead.
The wave of articles claiming otherwise came from pre-approval speculation in late 2025, when Temporal looked certain to make the cut — and nobody bothered to correct the record after 30 June. That is also why you should treat any "what's new in ES2026" list published before this summer with suspicion: if it mentions Temporal, it was written from a prediction, not the spec.
One more thing worth knowing about this edition: it is the first in years with no new syntax at all. All seven features are runtime APIs, which means no transpiler changes, no Babel updates, no build configuration — if your engine supports them, you just call them. Yearly editions look small precisely because the process is disciplined: finished proposals wait for the next train, and this year the train left without Temporal.
Should you use ES2026 features in production?
For six of the seven features, the pragmatic answer in late 2026 is yes, with a one-line feature-detect where it matters. Because none of them introduce syntax, adopting them is a runtime decision, not a tooling project: the detector above doubles as your support matrix, and a single typeof check guards the one Safari gap. If you need to clean up the JSON documents this article's first feature lets you preserve, the JSON formatter does the formatting side of that job in the same browser tab.
If you are newer to JavaScript and this article assumed more than you knew, start with how to run JavaScript in your browser — everything here can be tried with nothing more than that page and a paste.
| Feature | What it replaces | Support, December 2026 |
|---|---|---|
| Array.fromAsync | Manual for-await push loops | All major engines |
| Error.isError | instanceof / duck-typing checks | Chromium + Firefox (Safari pending) |
| Math.sumPrecise | reduce() with drift, Kahan workarounds | All major engines |
| Uint8Array base64/hex | btoa() gymnastics, hand-rolled hex | All major engines |
| Iterator.concat | Spreading into arrays to merge lazily | All major engines |
| JSON.parse source access | Lossy number round-trips | All major engines |
| Map.getOrInsert (upsert) | has/get/set three-step | All major engines |
Try everything from this article live
The CodeLive Studio editor runs the examples above with a one-second live preview no account, no install.
Open the free editorKeep reading
- How to run JavaScript in your browser· the zero-setup starting point for every snippet in this article.
- Free online code editor with no sign-up· what a browser-only editor can and cannot do versus an installed IDE.
- HTML vs CSS vs JavaScript, explained simply· where the language this article covers fits into the front-end trio.



