Internative Logo

What Is ECMAScript? The Standard Behind JavaScript

What Is ECMAScript? The Standard Behind JavaScript

The same JavaScript file runs in Chrome, Safari, Firefox, Node.js and inside desktop apps, and it behaves the same way in all of them. That is not luck. Every one of those engines implements a single written standard that defines what the language is: its syntax, its types, how a promise resolves, what Array.prototype.map returns. That standard is ECMAScript, and knowing how it works explains why some features can be used everywhere today while others still need a fallback.

This article explains what ECMAScript is, how it differs from JavaScript, how new features get into the language, what the main editions added, and what this means for teams writing JavaScript or TypeScript.

What is ECMAScript?

ECMAScript is the standardised specification of the language most people call JavaScript. It is published by Ecma International as the standard ECMA-262 and maintained by Ecma's technical committee TC39, a group of JavaScript developers, implementers and academics. TC39 also maintains ECMA-402, the internationalisation API, and ECMA-404, the JSON format.

The language came first and the standard followed. JavaScript was invented by Brendan Eich at Netscape and first appeared in the Navigator 2.0 browser; Microsoft shipped its own implementation, JScript, from Internet Explorer 3.0. To stop the two from drifting apart, work on a common specification began in November 1996, and the Ecma General Assembly adopted the first edition of ECMA-262 in June 1997. It was approved as the international standard ISO/IEC 16262 in April 1998.

The third edition followed in December 1999. Work on a fourth edition was never completed and never published, so the next release was ES5 in December 2009, which added strict mode, JSON support and new array methods. The sixth edition, ECMAScript 2015 (often still called ES6), was adopted in June 2015 and was the largest update in the language's history. Since then a new edition has been published every year, named after its year. The 17th edition, ECMAScript 2026, is dated June 2026.

ECMAScript vs JavaScript

The short version: ECMAScript is the specification, JavaScript is the language as people use it.

ECMA-262 defines the core language only: syntax, types, objects, functions, modules, promises and the standard built-ins such as Array, Map and JSON. It deliberately says nothing about the environment the code runs in. Browser APIs such as the DOM, fetch and localStorage come from other standards, mainly the WHATWG and W3C. Node.js adds its own APIs for files, processes and networking.

So "JavaScript" in practice means an ECMAScript engine plus a host environment. The engine in a browser and in Node.js implements the same ECMAScript; what differs is what surrounds it. Our article on JavaScript covers the language and its ecosystem; this one is about the standard underneath.

How ECMAScript evolves

Proposals move through stages. Every new feature starts as a proposal and moves through TC39's maturity stages. At Stage 1 the committee examines the problem; at Stage 2 it has chosen a preferred design with draft spec text; at Stage 2.7 the full spec text is approved and conformance tests are written; at Stage 3 the design is complete and recommended for implementation.

Stage 4 needs real implementations. A proposal reaches Stage 4 only when there are two compatible implementations that pass the Test262 conformance suite, along with significant experience in the field. In other words, features usually ship in engines before they appear in the published standard.

One edition per year. Each spring, the Stage 4 proposals are merged and the new edition is branched. The Ecma General Assembly then approves it in the middle of the year. ECMAScript 2016 was the first edition produced under this yearly cadence and open development on GitHub.

Key milestones by edition

  • ES5 (2009): strict mode, native JSON support, accessor properties and array methods such as forEach, map and filter.
  • ES2015: modules, classes, let and const block scoping, arrow functions, promises, iterators and generators, destructuring, Map and Set.
  • ES2017: async / await, plus Object.values and Object.entries.
  • ES2018: async iteration, object rest and spread, named capture groups in regular expressions.
  • ES2020: optional chaining (?.), nullish coalescing (??), BigInt, dynamic import() and Promise.allSettled.
  • ES2022: top-level await, private class fields and methods, and the .at() method.
  • ES2023 and ES2024: non-mutating array methods such as toSorted, and Object.groupBy and Promise.withResolvers.
  • ES2025: iterator helpers, new Set methods, JSON modules and RegExp.escape.

Where ECMAScript matters in practice

  • Browser support decisions. When a team decides whether it can use a feature without a fallback, it is really asking which ECMAScript edition the target browsers implement.
  • Build tooling. Bundlers and transpilers compile newer syntax down to an older edition. TypeScript's target option is the same decision expressed as an ECMAScript year.
  • Server and desktop runtimes. Node.js and frameworks such as Electron ship a known engine version, so on the server or desktop you can often use the newest syntax directly.
  • Code reviews and conventions. Linters and style guides are configured by ECMAScript version, which keeps a large codebase consistent.
  • Embedded and alternative engines. Smaller engines implement a subset or a specific edition, and the standard is what lets you know what to expect.

When to use the newest features, and when to wait

Use new features freely when:

  • The code runs in an environment you control: a server, a container or a desktop app with a pinned runtime.
  • Your build pipeline already transpiles to a safe target for older browsers.
  • The feature has reached Stage 4 and is supported in the browsers you target.

Be careful when:

  • A feature is only at Stage 3 or below. It may still change, and code that depends on it may need rewriting.
  • You ship untranspiled code to a wide audience, including older mobile browsers.
  • A polyfill would add significant weight for a convenience that plain code can express.

ECMAScript and related standards

StandardWho maintains itWhat it defines
ECMA-262 (ECMAScript)Ecma TC39The core language: syntax, types, built-ins
ECMA-402 (Intl)Ecma TC39Locale-aware dates, numbers and text
ECMA-404 (JSON)Ecma TC39The JSON data format
HTML and DOMWHATWGBrowser APIs such as the DOM and events
Node.js APIsNode.js projectFiles, processes and networking on the server

TypeScript is not a separate standard but a superset that adds static types on top of ECMAScript and compiles down to it. Its team follows TC39 closely, so new ECMAScript features usually appear in TypeScript once they reach Stage 3. Alongside HTML5 and CSS3, ECMAScript is one of the three core standards of the web platform.

How we use ECMAScript at Internative

We follow modern ECMAScript standards so that our code stays readable, is easy to maintain and keeps pace with the language. Using up-to-date language features lets us build applications that scale across both front-end and back-end systems, with one language from the browser to the server.

If you are planning a web platform or want to modernise an older JavaScript codebase, our web application development team can help you decide which language level and tooling fit your product.

Frequently asked questions

Is ECMAScript the same as JavaScript?

Not exactly. ECMAScript is the standard that defines the core language, published as ECMA-262. JavaScript is the language as implemented by engines in browsers and Node.js, which follow ECMAScript and add environment-specific APIs such as the DOM or file access. In everyday use the two names refer to the same language.

What is the latest version of ECMAScript?

A new edition is published every year and named after its year. The 17th edition, ECMAScript 2026, is dated June 2026. The ongoing draft, which already includes features approved for the next edition, is published openly by TC39.

When was ECMAScript 5 released?

ES5, the fifth edition of ECMA-262, was adopted by the Ecma General Assembly in December 2009. Edition 5.1, with minor corrections and aligned with ISO/IEC 16262:2011, followed in June 2011.

What is ES6?

ES6 is the common name for the sixth edition, officially ECMAScript 2015, adopted in June 2015. It introduced modules, classes, let and const, arrow functions, promises and many other features that define modern JavaScript. From then on, editions are named by year.

Who decides what goes into ECMAScript?

Ecma's technical committee TC39. Proposals advance through stages, and a feature is added to the standard only after it has two compatible implementations that pass the Test262 conformance tests and has been used in practice.

Related services

Where this topic becomes an engagement.

Keep reading

The articles that follow this one.