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