DescriptionES6 collections: Fix order of constructor logic
The adder should be gotten before the iterator.
Motivation: Once this is done we should be able to use a for-of loop
instead which leads to cleaner code and correct behavior once the
for-of loop correctly supports abrupt completion.
BUG=None
LOG=N
R=adamk
Committed: https://crrev.com/36e72aedf073a78915c5412e77499dbe98878766
Cr-Commit-Position: refs/heads/master@{#26803}
Patch Set 1 #Patch Set 2 : cleanup #
Messages
Total messages: 9 (2 generated)
|