Skip to content

Commit 42a9d4b

Browse files
authored
Editorial: make more iterator-related stuff imperative
As part of #467, this moves the installation of @@iterator/@@asyncIterator/forEach/entries/keys/values to an imperative style, for the cases of pair iterators, value iterators, async iterators, and indexed property getters. This does not yet make imperative the same methods for maplikes and setlikes, nor does it make the construction of the iterator-related objects and prototype objects themselves imperative. As part of this, it separates the definitions of the iteration methods for sync iterators and async iterators.
1 parent 71b8da4 commit 42a9d4b

File tree

1 file changed

+179
-273
lines changed

1 file changed

+179
-273
lines changed

0 commit comments

Comments
 (0)