Skip to content

Commit

Permalink
drop unnecessary Object conversion immediately following Object guard (
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelficarra committed Sep 26, 2022
1 parent 87145ba commit 4288584
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ <h1>
</dl>
<emu-alg>
1. If _obj_ is not an Object, throw a *TypeError* exception.
1. Let _nextMethod_ be ? GetV(_obj_, `"next"`).
1. Let _nextMethod_ be ? Get(_obj_, `"next"`).
1. If IsCallable(_nextMethod_) is *false*, throw a *TypeError* exception.
1. Let _iteratorRecord_ be Record { [[Iterator]]: _obj_, [[NextMethod]]: _nextMethod_, [[Done]]: *false* }.
1. Return _iteratorRecord_.
Expand Down

0 comments on commit 4288584

Please sign in to comment.