-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Normative: Remove [[Enumerate]] and associated reflective capabilities
Summary of changes: * 6.1.7.2 Removed [[Enumerate]] from the table and list of invariants * 9.5 Proxy Object Internal Methods and Interal Slots, [[Enumerate]] table entry removed. * 9.4.6.1.1 Module Namespace Object [[Enumerate]] moved to 26.3.2 module namespace object [ @@iterator ] * 9.5.11 Proxy [[Enumerate]] deleted * Moved ordinary [[Enumerate]] section to end of 13.7.5 for-in, renamed to EnumerateObjectProperties. * Add an assert to step 1 to signal callers we expect they'll only pass objects * Updated informative definition of EnumerateObjectProperties * 13.7.5.12 for-in head evaluation calls EnumerateObjectProperties(_obj_) instead of _obj_.[[Enumerate]] * EnumerableOwnNames: the _names_ are always ordered the same as EnumerateObjectProperties (since we don't have to worry about this not being enforceable with proxies anymore) * 26.1.5 Reflect.enumerate deleted
- Loading branch information
Showing
1 changed file
with
38 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters