Skip to content

Commit

Permalink
Editorial: Change "Yield" to "GeneratorYield" in two Note-steps (tc39…
Browse files Browse the repository at this point in the history
…#3454)

(PR tc39#2548 unfolded many invocations of Yield, but didn't change the accompanying Note-steps.)
  • Loading branch information
jmdyck authored and ljharb committed Nov 8, 2024
1 parent 473cae9 commit d27161d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -42329,7 +42329,7 @@ <h1>
1. Assert: _kind_ is ~key+value~.
1. Let _result_ be CreateArrayFromList(« _e_.[[Key]], _e_.[[Value]] »).
1. Perform ? GeneratorYield(CreateIteratorResultObject(_result_, *false*)).
1. NOTE: The number of elements in _entries_ may have increased while execution of this abstract operation was paused by Yield.
1. NOTE: The number of elements in _entries_ may have increased while execution of this abstract operation was paused by GeneratorYield.
1. Set _numEntries_ to the number of elements in _entries_.
1. Return *undefined*.
1. Return CreateIteratorFromClosure(_closure_, *"%MapIteratorPrototype%"*, %MapIteratorPrototype%).
Expand Down Expand Up @@ -42959,7 +42959,7 @@ <h1>
1. Else,
1. Assert: _kind_ is ~value~.
1. Perform ? GeneratorYield(CreateIteratorResultObject(_e_, *false*)).
1. NOTE: The number of elements in _entries_ may have increased while execution of this abstract operation was paused by Yield.
1. NOTE: The number of elements in _entries_ may have increased while execution of this abstract operation was paused by GeneratorYield.
1. Set _numEntries_ to the number of elements in _entries_.
1. Return *undefined*.
1. Return CreateIteratorFromClosure(_closure_, *"%SetIteratorPrototype%"*, %SetIteratorPrototype%).
Expand Down

0 comments on commit d27161d

Please sign in to comment.