Changelog

tc39/ecma262 · · 13 commits

Iterator helpers, Atomics.pause land in spec

Major spec additions include Iterator.zip/zipKeyed and Atomics.pause, plus a few normative parser and iterator-related fixes.

Iterator.zip and Iterator.zipKeyed added (michaelficarraf69e21b)

The spec now defines Iterator.zip and Iterator.zipKeyed, including option handling for mode/padding, iterator closing behavior, and the new IfAbruptCloseIterators shorthand. This brings standardized zip helpers to the iterator APIs and codifies their abrupt-completion cleanup semantics.

Atomics.pause introduced (syg7b11980)

A new Atomics.pause() method is specified as a spin-wait hint to the CPU/OS, returning undefined after optionally signaling the environment. This gives engines a standard hook for more efficient busy-wait loops and mutex fast paths.

ParseScript and ParseModule accept string input (gibson04297ea915)

ParseScript and ParseModule now explicitly accept a String or sequence of Unicode code points instead of only “ECMAScript source text.” That clarifies the abstract operations’ inputs and aligns them with host-provided string-based parsing paths.

Other misc changes

  • Editorial wording and markup cleanups across global object properties, intrinsic objects, error constructors, alias abbreviations, and quote conventions.
  • Editorial clarifications for FromBase64, “includes the properties,” implementation-defined phrasing, and AsyncArrowFunction/this wording.
  • Misc spec text cleanup in workflows and alias abbreviation tooling.