Changelog

tc39/ecma262 · · 1 commit

Typed array methods get a spec correctness fix

Clarifies that `filter` and `with` can observe `undefined` when buffer detachment/shrinking occurs during coercion.

Fix typed array assertions in filter and with (bakkot4feb027)

The spec now explicitly notes that values can become undefined if user code detaches or shrinks the backing buffer during callback/coercion, and it marks the relevant TypedArraySetElement steps as suppressing user-code effects. This corrects an overly strong assertion and tightens the algorithms to match real observable behavior.

Other misc changes

  • None