Skip to content

Commit

Permalink
Editorial: Explicitly provide all GetIterator arguments
Browse files Browse the repository at this point in the history
tc39/ecma262#3021 proposes removing optionality from the second argument
  • Loading branch information
gibson042 authored and ryzokuken committed Mar 7, 2023
1 parent 76b7b19 commit 13895c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/listformat.html
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ <h1>StringListFromIterable ( _iterable_ )</h1>
<emu-alg>
1. If _iterable_ is *undefined*, then
1. Return a new empty List.
1. Let _iteratorRecord_ be ? GetIterator(_iterable_).
1. Let _iteratorRecord_ be ? GetIterator(_iterable_, ~sync~).
1. Let _list_ be a new empty List.
1. Let _next_ be *true*.
1. Repeat, while _next_ is not *false*,
Expand Down

0 comments on commit 13895c8

Please sign in to comment.