File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ copyright: false
24
24
1. If _value_ is ~done~, then
25
25
1. If _buffer_ is not empty, then
26
26
1. Perform Completion(Yield(CreateArrayFromList(_buffer_))).
27
- 1. Return NormalCompletion(~unused~ ).
27
+ 1. Return ReturnCompletion(*undefined* ).
28
28
1. Append _value_ to _buffer_.
29
29
1. If the number of elements in _buffer_ is ℝ(_chunkSize_), then
30
30
1. Let _completion_ be Completion(Yield(CreateArrayFromList(_buffer_))).
@@ -48,7 +48,7 @@ copyright: false
48
48
1. Let _buffer_ be a new empty List.
49
49
1. Repeat,
50
50
1. Let _value_ be ? IteratorStepValue(_iterated_).
51
- 1. If _value_ is ~done~, return NormalCompletion(~unused~ ).
51
+ 1. If _value_ is ~done~, return ReturnCompletion(*undefined* ).
52
52
1. Append _value_ to _buffer_.
53
53
1. If the number of elements in _buffer_ is ℝ(_windowSize_), then
54
54
1. Let _completion_ be Completion(Yield(CreateArrayFromList(_buffer_))).
You can’t perform that action at this time.
0 commit comments