Changelog

tc39/ecma262 · Nov 16–22, 2026 · 6 commits

Spec adds reusable option helpers and module context cleanup

ECMA-262 gained shared option-parsing abstract operations, plus a small module-evaluation fix and several editorial cleanups.

Shared option parsing helpers added to the spec

ECMA-262 now defines GetBooleanOption, GetStringOption, and ValidateStringOption as reusable abstract operations. These centralize common option-object patterns like defaults, validation, and rejection of invalid values, and immediately simplify algorithms that had been open-coding the same logic.

Several APIs switched over to the new helpers

The new operations were used to streamline option handling in places including Symbol.toPrimitive, String.prototype.normalize, and base64 encode/decode algorithms. The result is less duplicated spec text and more consistent behavior around option parsing.

Synthetic module evaluation now initializes PrivateEnvironment

The execution-context setup for synthetic modules now explicitly sets PrivateEnvironment to null during module evaluation, filling a missing initialization step.

Editorial clarifications and history cleanup

A few prose fixes landed across regular-expression static semantics and template literal notes, and the project front matter was updated to better credit early editors. These changes are editorial only but improve precision and historical accuracy.

Other misc changes

CI and formatting coverage was widened for */*.emu files, alias-abbreviation checking now scans multiple spec files, and there were minor typo and auto-link cleanups.