archives

« Bugzilla Issues Index

#3100 — Updates to @@unscopables


Resolution from last f2f:

- @@unscopables only works inside of `with` object environment records, not global object environment records.
- Revert to the previous algorithm:
1. looks up unscopables, doesn't matter where in the prototype
2. checks the `name` against unscopables (HasProperty, not HasOwnProperty)
3. if found continue up to the next scope level


fixed in rev27 editor's draft


fixed in rev27 draft