Introduce shared index conversion helpers and apply them broadly (
8cb397f,
668a264,
51c90da)
The spec now defines ToAbsoluteIndex and ToClampedIndex as reusable abstract operations, replacing many repeated clamp/negative-index patterns across string, array-like, and typed-array methods. This makes the algorithms easier to read and keeps index handling consistent in places like at, includes, indexOf, slice, copyWithin, and several typed-array operations.
Clarify execution-context resumption language (
f9ae2d7)
The wording around resuming suspended contexts was changed from “Return” to “passing” to better reflect control transfer between execution contexts. A few generator and async-generator algorithms were also adjusted to model resumption explicitly.
