We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1dad98 commit 7cb0991Copy full SHA for 7cb0991
spec.emu
@@ -25,11 +25,11 @@ copyright: false
25
1. Let _iteratorRecord_ be ? GetIteratorDirect(_iter_).
26
1. Let _innerAlive_ be *true*.
27
1. Repeat, while _innerAlive_ is *true*,
28
- 1. Let _innerValue_ be ? IteratorStepValue(_iteratorRecord_).
29
- 1. If _innerValue_ is ~done~, then
+ 1. Let _result_ be ? IteratorStep(_iteratorRecord_).
+ 1. If _result_ is ~done~, then
30
1. Set _innerAlive_ to *false*.
31
1. Else,
32
- 1. Let _completion_ be Completion(Yield(_innerValue_)).
+ 1. Let _completion_ be Completion(GeneratorYield(_result_)).
33
1. If _completion_ is an abrupt completion, then
34
1. Return ? IteratorClose(_iteratorRecord_, _completion_).
35
1. Return ReturnCompletion(*undefined*).
0 commit comments