You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 26, 2022. It is now read-only.
<p>This method has been modified to accept an optional parameter _hint_ which indicates whether we should attempt to find an async iterator for the object. The _method_ parameter has been removed. Call sites which use the optional _method_ parameter (`Array.from` and IterableToArrayLike) must be updated to call the function directly instead.</p>
</emu-note>
<p>The abstract operation GetIterator with argument _obj_ and optional argument _hint_ performs the following steps:</p>
<emu-alg>
1. <ins>If _hint_ was not passed, let _hint_ be ~normal~.</ins>
1. <ins>Let _method_ be *undefined*.</ins>
1. <ins>If _hint_ is ~async~, let _method_ be ? GetMethod(_obj_, @@asyncIterator).</ins>
1. <ins>If _method_ is *undefined*, let _method_ be ? GetMethod(_obj_, @@iterator).</ins>
1. <del>If _method_ was not passed, then</del>
1. <del>Let _method_ be ? GetMethod(_obj_, @@iterator).</del>
1. Let _iterator_ be ? Call(_method_, _obj_).
1. If Type(_iterator_) is not Object, throw a *TypeError* exception.