From docs/spec-issues/
Spec issues
49 write-ups of places where the text of ECMA-262 cannot be followed as written, or should say something else: 34 defects of the text, 2 proposed normative change, 9 editorial items and questions, and 4 defects the editors have since fixed. Each argues from the text alone.
How to read them
Each write-up names its clause and step in ECMA-262 at b1eaed82f (the pinned text; clause numbers and steps are its own, and links go to the living draft, which may differ), quotes the text, says what goes wrong, gives a small program where one shows it, proposes a change, and says what test262 (at 2e58f87d) tests. Every quotation of the text is checked against the pinned spec.html when this site is built, step numbers included. Where a write-up is about an erratum of the model, the Errata page has that erratum's readings and the program that shows it.
The examples are Scripts unless they are a directory, whose main.mjs is a Module. They were run on:
- V8 (node): v24.18.1 (V8 13.6.233.17-node.50)
- SpiderMonkey (js140): JavaScript-C140.13.0
- JavaScriptCore (bun): Bun 1.3.13+bf2e2cecf (JavaScriptCore of oven-sh/WebKit 4d5e75ebd84a14edbc7ae264245dcd77fe597c10)
- The formal model:
ecma-run, built from this repository at the commit this site was built from.
The SpiderMonkey shell runs a Script file as it is; Node.js and Bun run it through a three-line shim that evaluates it with vm.runInThisContext, as a Script in the main realm. The examples' runs has every run's output. The proposed changes are proposals of this project, not of TC39: none of these write-ups has been filed with TC39.
Each write-up's Upstream item says what a check of tc39/ecma262 found on 2026-11-19, 2026-11-20: the issues and pull requests that report, fix or relate to the defect, with their state on that day, and the commits that changed the text. The Upstream column gives the first of them, or the fix. The record of the check is docs/spec-issues/upstream.tsv; the site's build does not use the network.
Defects of the text (34)
The text, read as written, gives no answer, an answer that contradicts another sentence, or an answer test262 does not accept. Each is an erratum of the model, with its readings on the Errata page.
A proposed normative change (2)
Not a defect: the text is consistent, and the change would alter what it requires.
| No. | Write-up | Clause | Erratum | Upstream | Program |
|---|---|---|---|---|---|
| 21 | /\<ZWNJ>/ and /\<ZWJ>/ became SyntaxErrors with Unicode 15.1 | 22.2.1 Patterns and 2 more | IdentityEscapeJoinControls | none found | yes |
| 51 | A maximum BigInt size: 2n ** (2n ** 40n) has an exact result in the text, which allows no maximum size | 6.1.6.2 The BigInt Type and 6 more | BigIntMaximumSize | none found |
Editorial items and questions (9)
Irregular notation, a missing case nothing observable depends on, or a sentence that needs clarifying. The model reads the text there without an erratum.
Fixed in the pinned text (4)
Defects the editors have since fixed: the pinned text no longer has them, and the model's errata for them are retired. Each write-up keeps the argument as a record.
| No. | Write-up | Clause | Erratum | Upstream | Program |
|---|---|---|---|---|---|
| 07 | TypedArray with and filter assert that a BigInt store of undefined succeeds | 23.2.3.10 %TypedArray%.prototype.filter and 3 more | TypedArrayWithSetElementAbrupt (retired), TypedArrayFilterKeptUndefined (retired) | fixed: PR #3979 merged | yes |
| 08 | Object.create(null) == false: IsLooselyEqual asserts that ToPrimitive succeeds | 7.2.13 IsLooselyEqual and 1 more | IsLooselyEqualBooleanAbrupt (retired) | fixed: PR #4067 merged | yes |
| 22 | reads-bytes-from names an unbound _result_ | 29.6.2 reads-bytes-from | ReadsBytesFromUnboundResult (retired) | fixed: PR #4064 merged | |
| 34 | RevalidateAtomicAccess checks only the element's first byte, and the buffer operation's Assert fails | 25.4.3.4 RevalidateAtomicAccess and 6 more | RevalidateAtomicAccess (retired) | fixed: PR #3926 merged | yes |