π ECMAScript Versions
π JavaScript (ECMAScript) Versions
Section titled βπ JavaScript (ECMAScript) Versionsβ| Edition | Year | Key Features | Docs |
|---|---|---|---|
| ES5 | 2009 | Strict mode, JSON | MDN |
| ES6 / ES2015 | 2015 | Classes, Modules, Arrow Functions, Promises | MDN |
| ES2016 | 2016 | Exponentiation **, Array.includes | Announce |
| ES2017 | 2017 | Async/Await | MDN |
| ES2018 | 2018 | Rest/Spread in objects, Async Iteration | MDN |
| ES2019 | 2019 | Array.flat, Optional catch binding | MDN |
| ES2020 | 2020 | Nullish Coalescing ??, Optional Chaining ?. | MDN |
| ES2021 | 2021 | Logical assignment &&=, WeakRefs | MDN |
| ES2022 | 2022 | Top-level await | MDN |
| ES2023 | 2023 | Array findLast, Hashbang grammar | MDN |
| ES2024 | 2024 | Object.groupBy / Map.groupBy, Promise.withResolvers, resizable ArrayBuffers, RegExp v flag |
MDN |
| ES2025 | 2025 | Iterator helpers, new Set methods (union, intersectionβ¦), JSON modules / import attributes, Promise.try, RegExp.escape, Float16Array |
MDN |
| ES2026 | Jun 2026 | Latest β Math.sumPrecise, Error.isError, Array.fromAsync, Iterator.concat, Map/WeakMap getOrInsert, Uint8Array base64/hex, JSON.parse source text access |
ECMA-262 Spec |
Temporal and explicit resource management (using / await using) have reached Stage 4 and are scheduled for ES2027; many modern runtimes already support them.
See feature examples: Optional Chaining β’ Nullish Coalescing Note: For full details of each edition, see the official ECMA-262 spec and the TC39 Finished Proposals list.