You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Let _closure_ be a new Abstract Closure with no parameters that captures _iterated_, _windowSize_, and _undersized_ and performs the following steps when called:
58
60
1. Let _buffer_ be a new empty List.
59
61
1. Repeat,
60
-
1. Let _value_ be ? IteratorStepValue(_iterated_).
62
+
1. Let _result_ be IteratorStepValue(_iterated_).
63
+
1. IfAbruptCloseIterator(_result_, _iterated_).
64
+
1. Let _value_ be ! _result_.
61
65
1. If _value_ is ~done~, then
62
66
1. If _undersized_ is *"allow-partial"*, _buffer_ is not empty, and the number of elements in _buffer_ < ℝ(_windowSize_), then
0 commit comments