Skip to content
This repository was archived by the owner on Oct 8, 2024. It is now read-only.

Fix IteratorStep usage in Iterator.prototype.drop #300

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -432,8 +432,8 @@ <h1>Iterator.prototype.drop ( _limit_ )</h1>
1. Repeat, while _remaining_ > 0,
1. If _remaining_ is not +∞, then
1. Set _remaining_ to _remaining_ - 1.
1. Let _next_ be ? IteratorStep(_iterated_).
1. If _next_ is *false*, return *undefined*.
1. Let _result_ be ? IteratorStep(_iterated_).
1. If _result_ is ~done~, return *undefined*.
1. Repeat,
1. Let _value_ be ? IteratorStepValue(_iterated_).
1. If _value_ is ~done~, return *undefined*.
Expand Down
Loading