Skip to content

Commit 444ba28

Browse files
committed
Editorial: Replace GetIterator with GetIteratorFromMethod
See: tc39/ecma262@956e5af
1 parent a63244c commit 444ba28

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ <h1><ins>Array.fromAsync ( _asyncItems_ [ , _mapper_ [ , _thisArg_ ] ] )</ins></
7979
1. Let _usingSyncIterator_ be ? GetMethod(_asyncItems_, @@iterator).
8080
1. Let _iteratorRecord_ be *undefined*.
8181
1. If _usingAsyncIterator_ is not *undefined*, then
82-
1. Set _iteratorRecord_ to ? GetIterator(_asyncItems_, ~async~, _usingAsyncIterator_).
82+
1. Set _iteratorRecord_ to ? GetIteratorFromMethod(_asyncItems_, _usingAsyncIterator_).
8383
1. Else if _usingSyncIterator_ is not *undefined*, then
84-
1. Set _iteratorRecord_ to ? CreateAsyncFromSyncIterator(GetIterator(_asyncItems_, ~sync~, _usingSyncIterator_)).
84+
1. Set _iteratorRecord_ to ? CreateAsyncFromSyncIterator(GetIteratorFromMethod(_asyncItems_, _usingSyncIterator_)).
8585
1. If _iteratorRecord_ is not *undefined*, then
8686
1. If IsConstructor(_C_) is *true*, then
8787
1. Let _A_ be ? Construct(_C_).

0 commit comments

Comments
 (0)