Skip to main content

JavaScript Version and Platform Support

Research date: August 2, 2026.

This page is the production baseline for the handbook. It separates the annual ECMAScript standard, the continuously updated living specification, host APIs, and implementation support.

Current language baseline​

LayerCurrent baselineHandbook treatment
Published language standardECMAScript 2026, ECMA-262 17th editionStable language baseline
Living specificationECMAScript 2027 draftIncludes finished Stage-4 work after the 2026 snapshot
InternationalizationECMA-402 2026, 13th editionStandardized; locale data still depends on the implementation
Web platformWHATWG HTML, DOM and Web API standardsHost-specific, not part of ECMA-262
Node.js, Deno and BunRuntime APIs and compatibility layersRuntime-specific; verify the selected release

ECMAScript 2026 added Math.sumPrecise, Iterator.concat, Array.fromAsync, Error.isError, Map and WeakMap get-or-insert methods, Uint8Array base64/hex conversion methods, JSON parse source context, and raw JSON support.

ECMAScript 2025 standardized iterator helpers, Set methods, import attributes and JSON modules, RegExp.escape, inline RegExp modifiers, Promise.try, and Float16 APIs. ECMAScript 2024 standardized resizable and transferable ArrayBuffers, Promise.withResolvers, grouping APIs, Atomics.waitAsync, and well-formed Unicode string helpers.

Stable feature map​

FeatureStatusCompatibility guidance
Optional chaining and nullish coalescingStandardizedBroadly supported; transpile only for older targets
Logical assignment operatorsStandardizedBroadly supported
Public/private class fields and static blocksStandardizedUse normally on maintained runtimes
Top-level awaitStandardizedModule-only; understand dependency-graph blocking
Import attributes and JSON modulesStandardizedHost loading behavior remains compatibility-sensitive
Iterator helpers and Set methodsStandardizedCheck older browsers and maintained Node lines
Promise.withResolvers and Promise.tryStandardizedPrefer feature detection for mixed deployment fleets
Resizable/transferable ArrayBuffersStandardizedEngine support and security constraints still matter
Explicit resource managementStage 4 / living draftUse only where syntax and runtime support are verified
TemporalStage 4 / living draftCompatibility-sensitive; not yet universal across Safari-era fleets
DecoratorsStage 2.7 proposalDo not present as standard JavaScript
Async iterator helpersProposalExperimental; keep behind tool/runtime-specific boundaries

TC39 maturity model​

A proposal can have an implementation before Stage 4. That does not make it universally stable. The handbook labels proposal status explicitly and never treats one browser implementation as proof of portability.

Language versus host environment​

ECMA-262 Browser / runtime host
----------------------------------- --------------------------------------
Array, Map, Promise, modules DOM, fetch, timers, rendering
functions, classes, coercion filesystem, process, sockets
Jobs and module evaluation task queues, event-loop phases, I/O

fetch, AbortController, Web Streams and structuredClone are standardized Web APIs that multiple runtimes implement. Their presence does not make them ECMAScript language features, and their exact integration can differ by host.

Production compatibility strategy​

  1. Define supported browser and runtime versions.
  2. Separate syntax support, built-in support and host-API support.
  3. Use feature detection for optional APIs; do not use user-agent guesses as the primary control.
  4. Test module loading, import attributes, top-level await and workers in real target environments.
  5. Pin runtime versions in CI and deployment images.
  6. Review TC39 status before adopting new syntax that cannot be polyfilled.
  7. Record fallbacks and removal dates for compatibility code.
export function hasModernCloneSupport() {
return typeof globalThis.structuredClone === 'function'
}

export function clonePortable(value) {
if (!hasModernCloneSupport()) {
throw new Error('structuredClone is required by this application baseline')
}
return structuredClone(value)
}

Upgrade checklist​

  • Read the annual ECMA-262 change summary and runtime release notes.
  • Run unit, integration, browser and performance tests on old and new targets.
  • Check parsing failures separately from missing runtime APIs.
  • Validate serialization, RegExp, Intl, module and async-ordering behavior.
  • Canary before broad rollout and retain a rollback path.

Primary sources​