Skip to content

Commit 8159f18

Browse files
committed
rename values to skip+truncate
1 parent e049716 commit 8159f18

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec.emu

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ copyright: false
4949
1. If _windowSize_ is not an integral Number in the inclusive interval from *1*<sub>𝔽</sub> to 𝔽(2<sup>32</sup> - 1), then
5050
1. Let _error_ be ThrowCompletion(a newly created *RangeError* object).
5151
1. Return ? IteratorClose(_iterated_, _error_).
52-
1. If _undersized_ is *undefined*, set _undersized_ to *"empty"*.
53-
1. If _undersized_ is neither *"empty"* nor *"short"*, then
52+
1. If _undersized_ is *undefined*, set _undersized_ to *"skip"*.
53+
1. If _undersized_ is neither *"skip"* nor *"truncate"*, then
5454
1. Let _error_ be ThrowCompletion(a newly created *TypeError* object).
5555
1. Return ? IteratorClose(_iterated_, _error_).
5656
1. Set _iterated_ to ? GetIteratorDirect(_O_).
@@ -59,7 +59,7 @@ copyright: false
5959
1. Repeat,
6060
1. Let _value_ be ? IteratorStepValue(_iterated_).
6161
1. If _value_ is ~done~, then
62-
1. If _undersized_ is *"short"*, _buffer_ is not empty, and the number of elements in _buffer_ &lt; ℝ(_windowSize_), then
62+
1. If _undersized_ is *"truncate"*, _buffer_ is not empty, and the number of elements in _buffer_ &lt; ℝ(_windowSize_), then
6363
1. Perform Completion(Yield(CreateArrayFromList(_buffer_))).
6464
1. Return ReturnCompletion(*undefined*).
6565
1. If the number of elements in _buffer_ is ℝ(_windowSize_), then

0 commit comments

Comments
 (0)