Skip to content
jshacks.dev
Fundamentals

What Is TC39 and How a Proposal Becomes JavaScript

TC39 is the committee that evolves JavaScript, and a proposal moves through stages 0 to 4 before it joins a yearly edition. See the stages and how to follow.

8 min read
Summarize in AI
Flat illustration of an editor window full of code, with the JavaScript, TypeScript, Vite and npm logos.

JavaScript is not owned by one company. A committee of people from browser vendors, large companies, small companies and the community decides what the language becomes, and it does so through a process with named stages that anyone can read. Understanding the process answers questions that otherwise look arbitrary: why a feature you have wanted for years takes so long, why some features are already in your browser before they are "official", why two engines must ship a feature before it counts, and why the same proposal sometimes changes its name or its API between drafts. This post introduces TC39 and the stage process, shows how to read where a feature is and how to tell what your runtime has, and ends with how to adopt features safely. It builds on the post on JavaScript and ECMAScript, and it connects to the yearly lists in what was new in ES2025 and what is coming in ES2027.

Who TC39 is

TC39 is Technical Committee 39 of Ecma International, a standards organization. It maintains ECMA-262, the language specification, and ECMA-402, the internationalization API. Its members are organizations: the companies that make the engines, other firms that depend on JavaScript and invited experts. It meets about every two months, and it decides by consensus: a proposal advances when no delegate raises a blocking objection that the group cannot resolve.

The committee does not write browsers or Node.js. It writes the specification, and implementers decide when to ship. That is why the process requires implementation experience before a feature is final, and why engines sometimes ship a feature behind a flag before it is standard. The web platform APIs, such as fetch and the DOM, are specified elsewhere, by the WHATWG and W3C, as explained in the post on JavaScript and ECMAScript.

The five stages

Every proposal has a champion, a delegate who presents it and shepherds it through the stages. The stages are numbered 0 to 4, and each has entry criteria.

StageNameWhat it means
0StrawpersonAn idea, not yet presented or accepted
1ProposalThe committee accepts the problem as worth exploring and a champion is named
2DraftA first version of the specification text exists, and the committee expects the feature to be developed
2.7Approved for testsThe design is approved and test writing begins (a recent refinement between 2 and 3)
3CandidateThe design is complete, and engines are invited to implement it and give feedback
4FinishedTwo or more engines ship it, tests exist and the specification text is merged

The number of a stage is a promise about how likely the design is to change. At stage 1 anything can change, including whether the feature exists. At stage 2 the shape is settled in broad terms, and the details move. At stage 3, changes happen only for problems found in implementation. At stage 4, the feature is part of the next edition.

JavaScript
const stages = [
  { stage: 0, change: "any", engines: "none", safeToShip: false },
  { stage: 1, change: "any", engines: "none", safeToShip: false },
  { stage: 2, change: "details", engines: "experiments", safeToShip: false },
  { stage: 3, change: "implementation feedback only", engines: "shipping behind flags or in releases", safeToShip: "with detection" },
  { stage: 4, change: "none", engines: "two or more shipping", safeToShip: true },
];

const risky = stages.filter((entry) => entry.safeToShip === false).map((entry) => entry.stage);
const detectable = stages.filter((entry) => entry.safeToShip === "with detection");

console.log(risky, detectable.length);
console.log(stages.at(-1).engines);
Text
[ 0, 1, 2 ] 1
two or more shipping

The table in code form makes the practical rule explicit: stages 0 to 2 are not safe to build on, stage 3 is safe with detection and a fallback, and stage 4 is safe wherever your runtime has it. The categories are our guidance and not part of the process document.

What happens at stage 4

Stage 4 has three requirements. Acceptance tests for the feature are in test262, the shared conformance suite. At least two shipping implementations pass those tests. And the specification pull request is approved by the editors. After stage 4 the feature is merged into the draft of the next edition. The edition is cut in the first months of the year and approved by Ecma in June, so a proposal that reaches stage 4 in March is in that year's edition and one that reaches it in May is in the next.

JavaScript
const probes = {
  ES2022: ["Array.prototype.at", () => typeof [].at],
  ES2023: ["Array.prototype.toSorted", () => typeof [].toSorted],
  ES2024: ["Object.groupBy", () => typeof Object.groupBy],
  ES2025: ["Set.prototype.union", () => typeof new Set().union],
  ES2026: ["Array.fromAsync", () => typeof Array.fromAsync],
  Proposal: ["Math.sumPrecise", () => typeof Math.sumPrecise],
  Preview: ["Temporal", () => typeof globalThis.Temporal],
};

for (const [label, [name, probe]] of Object.entries(probes)) {
  console.log(label.padEnd(9), name.padEnd(26), probe());
}
Text
ES2022    Array.prototype.at         function
ES2023    Array.prototype.toSorted   function
ES2024    Object.groupBy             function
ES2025    Set.prototype.union        function
ES2026    Array.fromAsync            function
Proposal  Math.sumPrecise            undefined
Preview   Temporal                   undefined

On Node.js 24.1, features from every finished edition up to ES2026 that this run probed are present, Math.sumPrecise is not, and Temporal is absent without a flag. The table is a snapshot of one runtime. The same probes on another engine would give a different answer, which is why detection beats assumption, as covered in the post on engines.

An example: a feature's path

A small feature follows a predictable path, and Object.groupBy from the post on ES2024 is a good example of the shape. It began as an observation that grouping is common and awkward to write. A champion presented it, the committee accepted the problem and a draft followed. The design was reviewed for web compatibility, since a new method name can collide with what libraries have already added to built-in prototypes, and the shape of the API was settled. At stage 3 engines implemented it behind flags and then in releases, and at stage 4 two engines shipped it and the tests passed. It entered the 2024 edition and runs in Node.js 21 and later. Names and shapes are often the last things to settle, so expect a proposal's early drafts to differ from what ships.

Temporal followed a much longer path, since it is a large API with many types, and the committee spent years on it at stage 3 while engines implemented it incrementally and reported problems. The visible results of that feedback were API changes late in the process, such as renamed properties, which is why code built on early builds sometimes needed edits, as noted in the Temporal post.

Where to read about proposals

Everything is public. The proposals repository lists every active proposal by stage, with links to its specification text and its champion. A separate file lists finished proposals with the edition each joined. The notes of each meeting are published, and the process document describes the rules. A proposal's own repository usually has an explainer, the "why", and a specification, the "what exactly", and the explainer is the easier read.

JavaScript
const reading = [
  ["Is it final?", "Check the stage in the proposals repository"],
  ["Is it in an edition?", "Check the finished-proposals file"],
  ["Does my runtime have it?", "typeof check, or the compatibility table"],
  ["Why was it designed this way?", "Read the explainer and the meeting notes"],
];

for (const [question, where] of reading) {
  console.log(question.padEnd(30), where);
}
Text
Is it final?                   Check the stage in the proposals repository
Is it in an edition?           Check the finished-proposals file
Does my runtime have it?       typeof check, or the compatibility table
Why was it designed this way?  Read the explainer and the meeting notes

Each question has a different source. The stage says how likely a change is, the edition says when it became standard, the runtime check says whether you can use it today, and the explainer says why it works the way it does.

Adopting a feature safely

The rule is the one in the ES2027 post: detect, fall back, isolate. For a stage 4 feature in a runtime you control, use it directly. For a stage 3 feature that your target runtime ships, use it behind detection and a fallback in one module. For anything at stage 2 or below, do not use it in production code: experiment, but expect to rewrite. For syntax, which cannot be detected at runtime, use a compiler such as TypeScript or Babel, or wait for your floor to include it.

Polyfills are the other tool, and they come with a caution. A polyfill for a stage 3 feature may track a design that is still changing, so pin its version and read its changelog when you upgrade. For stable features, a polyfill lets older environments run new code at a cost in size.

How you can take part

The process is open to people who are not delegates. Anyone can read proposals, file issues and comment on design questions in a proposal's repository. Reports of real usage, such as "this API was hard to use in our codebase because of X", are valued, especially at stage 2 and 3, when feedback can still change the design. Writing tests for test262 is another way in, and a good one: tests are required for stage 4, and the committee welcomes them.

Where this process stops

The process describes the language and does not govern the platform around it. A feature in the DOM, in fetch or in Node.js follows a different path, with different bodies and different rules. The process also does not guarantee speed: a proposal can sit at a stage for years while implementers weigh costs, and some are withdrawn. And the stage numbers describe the proposal's status, not its quality: a stage 4 feature can still have rough edges, and the committee fixes them in later editions through normative changes.

The process is described in the TC39 process document, proposals are tracked in the TC39 proposals repository, and the language text is in ECMA-262.

Taggedbeginner
Share

Keep reading

Get new posts by email

We send one email when a new post is published. No spam.

Unsubscribe in one click. No spam, ever.