The History of ECMAScript and JavaScript Guide
Discover the complete history of ECMAScript, the official specification behind JavaScript. Learn how the TC39 committee works, what the proposal process involves, and how new features move from idea to every browser in the world.
Most developers write "JavaScript" every day without thinking about the specification that defines it. That specification is called ECMAScript, and it is maintained by a committee called TC39 under the standards organization Ecma International. Every const, every arrow function, every async/await pattern you use exists because someone wrote a formal proposal, the committee debated it, and it passed through a multi-stage approval process before being implemented in browsers and Node.js.
This guide covers the full history of how JavaScript became ECMAScript, how the standards process works, and why understanding it matters for your career as a developer.
Why JavaScript Needed a Standard
When Brendan Eich created JavaScript at Netscape in 1995, it was a single company's scripting language for a single browser. Within a year, Microsoft created their own implementation called JScript for Internet Explorer. The two implementations were similar but had subtle differences that caused code to break across browsers.
Netscape recognized this problem and submitted JavaScript to Ecma International (a European standards organization) in November 1996. The goal was to create an official, vendor-neutral specification that any company could implement identically.
// The Browser Wars problem: Same code, different behavior
// Netscape Navigator 2.0 (1995)
document.layers["myDiv"].visibility = "show";
// Internet Explorer 3.0 (1996)
document.all["myDiv"].style.visibility = "visible";
// Developers needed TWO versions of the same code
// ECMAScript aimed to prevent this at the language levelWhy Not Call It JavaScript?
Netscape trademarked the name "JavaScript" (now owned by Oracle). A standardized language cannot be trademarked, so the committee chose "ECMAScript" after Ecma International, the organization hosting the standard. In practice, "JavaScript" refers to the language as implemented in browsers and Node.js, while "ECMAScript" refers to the formal specification.
The Naming Relationship
Understanding the relationship between the names clears up a common source of confusion.
| Term | What It Means | Example |
|---|---|---|
| ECMAScript | The formal language specification published by Ecma International under the designation ECMA-262 | "ES2023 specifies that Array.prototype.toSorted() returns a new sorted array" |
| JavaScript | The most popular implementation of ECMAScript, running in browsers and Node.js | "My JavaScript code uses toSorted() from ES2023" |
| JScript | Microsoft's historical implementation of ECMAScript (deprecated since IE11) | "JScript had compatibility quirks in older IE versions" |
| ActionScript | Adobe's ECMAScript implementation for Flash (discontinued) | "ActionScript 3.0 was based on the abandoned ES4 draft" |
| TC39 | The technical committee (Technical Committee 39) at Ecma International that maintains and evolves the ECMAScript specification | "TC39 meets six times per year to review proposals" |
| ECMA-262 | The official document number for the ECMAScript specification | "ECMA-262, 14th Edition (ES2023) was published in June 2023" |
Timeline of ECMAScript Editions
The history of ECMAScript falls into three distinct eras: the early standardization period (1997 to 1999), the lost decade (1999 to 2009), and the modern era of annual releases (2015 to present).
Era 1: Early Standardization (1997 to 1999)
The first three editions established the core language in rapid succession.
// ES1 (June 1997): First edition
// Codified existing Netscape JavaScript behavior
// Core types: Number, String, Boolean, Object, null, undefined
// Control flow: if/else, for, while, switch
// Functions as first-class objects
var message = "ECMAScript 1 established the baseline";
function greet(name) {
return "Hello, " + name;
}
// ES2 (June 1998): Editorial only
// Aligned the Ecma spec with the ISO/IEC 16262 international standard
// No new features were added
// ES3 (December 1999): Made JavaScript practical
// Added: Regular expressions, try/catch, do-while, switch
// Better string handling: concat, match, replace, search, slice
try {
var pattern = /^[a-zA-Z]+$/;
var isValid = pattern.test("Hello");
} catch (e) {
// Error handling was not possible before ES3
}Era 2: The Lost Decade (1999 to 2009)
ES4 was proposed as a massive overhaul of the language, adding classes, interfaces, optional type annotations, packages, namespaces, and much more. The committee split into two camps:
- The ES4 group (Mozilla, Adobe, Opera): Wanted a modern, powerful language
- The conservative group (Microsoft, Yahoo): Wanted incremental improvements to avoid breaking the web
The debate lasted from 2000 to 2008. In August 2008, the committee reached an agreement called "Harmony":
- ES4 was officially abandoned
- ES3.1 (a conservative update) would be published as ES5
- Selected ES4 features would be considered for future editions
// Features that were proposed for ES4 but took years to arrive:
// ES4 proposed: classes (arrived in ES6/2015)
// ES4 style (never released)
// class Animal {
// var name: string;
// function speak(): string { return this.name + " speaks"; }
// }
// ES6 style (actually shipped)
class Animal {
constructor(name) {
this.name = name;
}
speak() {
return `${this.name} speaks`;
}
}
// ES4 proposed: optional type annotations (arrived via TypeScript in 2012)
// ES4 style: function add(a: int, b: int): int { return a + b; }
// TypeScript: function add(a: number, b: number): number { return a + b; }This 10-year gap is one of the most important periods in JavaScript history. The language itself could not evolve, so the community built solutions as libraries: jQuery (2006) for DOM manipulation, Backbone.js (2010) and later Angular (2010) for application structure, and Node.js (2009) for running JavaScript outside the browser.
Era 3: Annual Releases (2015 to Present)
After ES6 transformed the language in 2015, the committee established an annual release cycle. Every June, a new edition is published containing whatever proposals have reached Stage 4 (complete) by a cutoff date in March.
| Edition | Year | Notable Features |
|---|---|---|
| ES2015 (ES6) | 2015 | let/const, arrow functions, classes, modules, Promises, template literals, destructuring |
| ES2016 | 2016 | Array.includes(), exponentiation operator (**) |
| ES2017 | 2017 | async/await, Object.entries(), Object.values(), string padding |
| ES2018 | 2018 | Async iteration, object rest/spread, Promise.finally(), regex improvements |
| ES2019 | 2019 | Array.flat(), Array.flatMap(), Object.fromEntries(), optional catch binding |
| ES2020 | 2020 | Optional chaining (?.), nullish coalescing (??), BigInt, globalThis |
| ES2021 | 2021 | String.replaceAll(), logical assignment (??=, ` |
| ES2022 | 2022 | Top-level await, .at(), class fields, Object.hasOwn(), error cause |
| ES2023 | 2023 | toSorted(), toReversed(), findLast(), findLastIndex(), .with(), hashbang grammar |
| ES2024 | 2024 | Object.groupBy(), Map.groupBy(), Promise.withResolvers(), ArrayBuffer improvements |
| ES2025 | 2025 | Set methods (.union(), .intersection(), .difference()), RegExp.escape() |
How TC39 Works: The Proposal Process
TC39 is composed of delegates from major tech companies (Google, Microsoft, Apple, Mozilla, Meta, and others), JavaScript engine maintainers, and invited experts. They meet approximately six times per year to review proposals.
Every new JavaScript feature goes through a five-stage process:
Stage 0: Strawperson
Anyone can submit an idea. It is a free-form suggestion that a TC39 member has agreed to present at a meeting. There are no requirements for Stage 0 proposals. Most Stage 0 proposals never advance further.
Stage 1: Proposal
A TC39 member "champions" the proposal, providing a problem statement, examples, API surface, and discussion of semantics. Getting to Stage 1 means the committee believes the problem is worth solving and is willing to spend time investigating it. This does not mean the feature will be added.
Stage 2: Draft
The proposal must include formal specification text using ECMAScript specification language. This is a strong signal that the feature will likely be included, but the syntax and semantics may still change significantly before Stage 3.
Stage 3: Candidate
The specification is considered complete. At least two browser engines must provide experimental implementations. Feedback from implementations may lead to minor refinements, but the core design is locked. Libraries and frameworks often begin supporting Stage 3 features through transpilers like Babel.
Stage 4: Finished
The feature has at least two conformant implementations that pass Test262 (the official ECMAScript test suite). It will be included in the next annual ECMAScript edition. At this point, the feature is considered stable and safe to use in production.
// Example: Optional chaining moved through the stages over 3+ years
// Stage 0 (2017): Initial idea discussed
// Stage 1 (July 2017): Problem statement: deeply nested property access is verbose
// Stage 2 (November 2018): Formal spec text written
// Stage 3 (July 2019): Chrome and Firefox shipped experimental implementations
// Stage 4 (December 2019): Included in ES2020
// Before optional chaining (verbose defensive coding)
function getCityName(user) {
if (user && user.address && user.address.city) {
return user.address.city.name;
}
return "Unknown";
}
// After optional chaining (clean, safe access)
function getCityName(user) {
return user?.address?.city?.name ?? "Unknown";
}Reading the ECMAScript Specification
The specification itself is a large technical document (the ES2024 edition is over 900 pages). You do not need to read it cover to cover, but knowing how to reference it is a valuable skill.
// Understanding spec behavior helps debug edge cases
// For example, the spec defines Array.sort() stability:
const items = [
{ name: "Alice", score: 90 },
{ name: "Bob", score: 90 },
{ name: "Charlie", score: 85 },
{ name: "Diana", score: 90 }
];
// ES2019+ guarantees Array.sort() is stable
// Items with equal scores maintain their original order
items.sort((a, b) => b.score - a.score);
// Result: Alice(90), Bob(90), Diana(90), Charlie(85)
// Alice, Bob, and Diana keep their relative order because the sort is stable
// Before ES2019, this behavior was implementation-dependent
// V8 (Chrome) used an unstable sort prior to the spec changeSpec vs. Reality
Browser implementations sometimes differ from the specification in subtle ways, especially for edge cases. The Test262 test suite exists to verify compliance, but not every implementation passes every test at all times. When you encounter surprising behavior, check both the MDN documentation and the specification to understand what should happen versus what actually happens.
ECMAScript Implementations Beyond Browsers
While JavaScript in web browsers and Node.js is the most well-known ECMAScript implementation, several other runtimes implement the same specification.
// All of these runtimes implement the ECMAScript specification:
// 1. V8 (Google) - Powers Chrome, Node.js, Deno, and Cloudflare Workers
// 2. SpiderMonkey (Mozilla) - Powers Firefox
// 3. JavaScriptCore (Apple) - Powers Safari and Bun
// 4. Hermes (Meta) - Optimized for React Native mobile apps
// 5. QuickJS - Lightweight embeddable engine (IoT, scripting)
// 6. GraalJS (Oracle) - Part of GraalVM, supports Java interop
// The same ECMAScript code runs identically on all of them:
const greet = (name) => `Hello, ${name}!`;
const numbers = [1, 2, 3, 4, 5];
const doubled = numbers.map((n) => n * 2);
const sum = doubled.reduce((acc, n) => acc + n, 0);
console.log(`Sum of doubled: ${sum}`); // 30 everywhere| Runtime | Engine | Primary Use Case | ECMAScript Compliance |
|---|---|---|---|
| Chrome / Edge | V8 | Web browsers | Full ES2024+ |
| Node.js | V8 | Server-side JavaScript | Full ES2024+ |
| Deno | V8 | Secure server-side runtime | Full ES2024+ |
| Firefox | SpiderMonkey | Web browser | Full ES2024+ |
| Safari | JavaScriptCore | Web browser / iOS | Full ES2024+ |
| Bun | JavaScriptCore | Fast server-side runtime | Full ES2024+ |
| React Native | Hermes | Mobile applications | Partial (optimized subset) |
| Cloudflare Workers | V8 | Edge computing | Full ES2024+ |
How Features Get to Your Browser
Once a feature reaches Stage 4, it enters a pipeline that eventually delivers it to every JavaScript developer:
- Test262 tests are written to verify correct behavior across all edge cases
- Browser engines implement the feature behind flags (experimental features that must be manually enabled)
- The feature ships unflagged in browser beta/canary builds
- Stable browser releases include the feature (Chrome, Firefox, Safari ship on different schedules)
- Node.js, Deno, and Bun pick up changes from their underlying engines (V8 or JavaScriptCore)
- MDN documents the feature with examples, browser compatibility tables, and polyfill guidance
- TypeScript adds type support (usually within 1 to 2 releases)
For features that are not yet widely supported, developers use transpilers and polyfills:
// Babel: Transpiles modern syntax into older JavaScript
// Input (ES2020 syntax):
const city = user?.address?.city ?? "Unknown";
// Babel output (ES5-compatible):
var _user$address, _user$address$city;
var city =
(_user$address = user === null || user === void 0 ? void 0 : user.address) !==
null && _user$address !== void 0
? (_user$address$city = _user$address.city) !== null &&
_user$address$city !== void 0
? _user$address$city
: "Unknown"
: "Unknown";
// core-js: Polyfills new built-in methods
// Adds Array.prototype.toSorted() to older environments that lack it
import "core-js/actual/array/to-sorted";
const sorted = [3, 1, 2].toSorted(); // Works in older browsers nowBest Practices for Tracking ECMAScript Updates
Follow TC39 meeting notes. The committee publishes detailed meeting notes on GitHub. Reading proposal discussions helps you understand why features are designed the way they are, not just what they do.
Watch the proposal repository. The TC39 proposals repository lists every active proposal with its current stage. Stage 3 proposals are safe to learn and experiment with because they are nearly certain to ship.
Use Can I Use and MDN. For any feature, check Can I Use for browser support and MDN Web Docs for documentation and examples. MDN includes compatibility tables showing exactly which browser versions support each feature.
Configure your tools. Set your TypeScript target, Babel presets, and ESLint parser options to match the ECMAScript version you need to support. This ensures your toolchain catches compatibility issues before deployment.
Common Mistakes About ECMAScript
Avoid These Misconceptions
Misunderstanding the standard can lead to broken assumptions about browser support and language behavior.
Confusing "JavaScript" with "ECMAScript" as different languages. They are not different languages. JavaScript is an implementation of the ECMAScript specification. When someone says "JavaScript added optional chaining," they mean the ECMAScript specification added it and JavaScript engines implemented it. The terms are largely interchangeable in everyday conversation.
Assuming Stage 3 features are safe for production without transpilation. Stage 3 means the design is final, but not all browsers have shipped the feature yet. Always check compatibility tables or use Babel to transpile Stage 3 features until they reach Stage 4 and have broad browser support.
Thinking new features replace old ones. ECMAScript never removes features (except in strict mode for a tiny number of legacy patterns). New features are additions, not replacements. var still works; it is just no longer recommended. Older codebases using var and callbacks are still valid JavaScript.
Ignoring the annual release cycle. Some developers still think in terms of "ES6 vs. ES5" without realizing there have been 10 annual releases since ES6. Features like optional chaining (ES2020), structured clone (ES2024), and Set methods (ES2025) are just as important as the ES6 additions.
Rune AI
Key Insights
- ECMAScript is the specification, JavaScript is the implementation: The TC39 committee writes the rules, and browser engines (V8, SpiderMonkey, JavaScriptCore) execute them
- The five-stage proposal process ensures quality: Features progress from idea (Stage 0) through formal specification (Stage 2) to verified implementation (Stage 4) before inclusion
- The lost decade shaped modern JavaScript: The ES4 failure (1999 to 2009) created the library-centric ecosystem (jQuery, Node.js, npm) that defines JavaScript development today
- Annual releases prevent stagnation: Since 2015, a new edition ships every June containing all Stage 4 proposals, ensuring steady language improvement
- Backward compatibility is permanent: The web cannot break existing sites, so features are never removed, only supplemented with better alternatives
Frequently Asked Questions
What is the difference between ECMAScript and JavaScript in practice?
How long does it take for a TC39 proposal to become a standard feature?
Can I use Stage 3 features in production code?
Why does JavaScript never remove old features?
How can I contribute to the ECMAScript standard?
What happens if two JavaScript engines implement a feature differently?
Conclusion
ECMAScript is the formal specification behind JavaScript, maintained by the TC39 committee at Ecma International through a structured five-stage proposal process. From the first edition in 1997 through the evolution to modern ES6+ and the annual releases that followed, the standardization process has transformed JavaScript from a simple browser scripting language into one of the most widely used programming languages in the world. Understanding how ECMAScript works helps you anticipate upcoming features, evaluate when new syntax is safe to adopt, and debug subtle behavior by referencing the specification itself.
More in this topic
OffscreenCanvas API in JS for UI Performance
Master the OffscreenCanvas API to offload rendering from the main thread. Covers worker-based 2D and WebGL rendering, animation loops inside workers, bitmap transfer, double buffering, chart rendering pipelines, image processing, and performance measurement strategies.
Advanced Web Workers for High Performance JS
Master Web Workers for truly parallel JavaScript execution. Covers dedicated and shared workers, structured cloning, transferable objects, SharedArrayBuffer with Atomics, worker pools, task scheduling, Comlink RPC patterns, module workers, and performance profiling strategies.
JavaScript Macros and Abstract Code Generation
Master JavaScript code generation techniques for compile-time and runtime metaprogramming. Covers AST manipulation, Babel plugin authorship, tagged template literals as macros, code generation pipelines, source-to-source transformation, compile-time evaluation, and safe eval alternatives.