Changelog

tc39/ecma262 · · 8 commits

Iterator and regex wording cleaned up

A normative iterator builtin fix and a new integer-snap abstract op landed, alongside several Temporal/time-zone editorial updates.

Iterator builtins now use Number counters (michaelficarrabb02120)

Iterator helper and array/iterator builtin algorithms now track counters as Number values instead of reals, with explicit 2^53 limits and updated increment semantics. This tightens the spec around large iteration counts and avoids silently diverging from Number behavior.

Add SnapToInteger for finite-only integer conversion (ptomatoad0ccf5)

Introduces a new abstract operation for converting values to finite integers with optional bounds, rejecting NaN and infinities. Number#toString and BigInt#toString now use it for radix handling, making the range check more explicit and reusable.

Introduce “epoch nanoseconds count” (ptomato1ba69a5)

Adds a named concept and range for nanosecond-precision epoch timestamps, replacing BigInt as the stated type in several Temporal-related operations. This clarifies the model for time values and aligns the core spec vocabulary around epoch nanoseconds.

Other misc changes

  • Regex annex wording and production cleanups, including optional trailing-comma simplifications and Annex B lint-prep.
  • Function [[Call]]/[[Construct]] editorial alignment and a small clampedLength rename.
  • IANA time zone reference/link polishing.
  • Minor editorial renames and phrasing tweaks in spec algorithms.