for-in
github.com/bakkot/for-in-exploration
Recap
Historically there was wild divergence.
There still is for Proxies and
in edge cases.
But there's a broad space
with (necessary) agreement.
Problems with current spec
Goals
Non-goals
So.
Proxies
Every engine does something different for proxies.
Uncaptured constraints
The common case
(way too much text)
The common case
The common case
See associated repo.
Every engine agrees in
the common case.
Make the reference
implementation normative
for proxies.
Proposal 1:
Make the reference
implementation normative
for the common case.
Proposal 2: