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

Commit

Permalink
Fix IteratorStep usage in Iterator.prototype.drop
Browse files Browse the repository at this point in the history
  • Loading branch information
shvaikalesh authored Sep 26, 2024
1 parent a1e5214 commit 1766b7e
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 1766b7e

Please sign in to comment.