Skip to content

Commit

Permalink
Editorial: Improve next method definition consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
gibson042 committed Aug 10, 2021
1 parent f37104b commit b780983
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -36691,7 +36691,6 @@ <h1>The %ArrayIteratorPrototype% Object</h1>

<emu-clause id="sec-%arrayiteratorprototype%.next">
<h1>%ArrayIteratorPrototype%.next ( )</h1>
<p>When the `next` method is called, the following steps are taken:</p>
<emu-alg>
1. Return ? GeneratorResume(*this* value, ~empty~, *"%ArrayIteratorPrototype%"*).
</emu-alg>
Expand Down Expand Up @@ -43179,10 +43178,8 @@ <h1>Generator.prototype.constructor</h1>

<emu-clause id="sec-generator.prototype.next">
<h1>Generator.prototype.next ( _value_ )</h1>
<p>The `next` method performs the following steps:</p>
<emu-alg>
1. Let _g_ be the *this* value.
1. Return ? GeneratorResume(_g_, _value_, ~empty~).
1. Return ? GeneratorResume(*this* value, _value_, ~empty~).
</emu-alg>
</emu-clause>

Expand Down

0 comments on commit b780983

Please sign in to comment.