Is this really the most direct way to get %AsyncIteratorPrototype%?
T.J. Crowder
tj.crowder at farsightsoftware.com
Tue Aug 14 18:42:11 UTC 2018
On Tue, Aug 14, 2018 at 7:12 PM, Isiah Meadows
<isiahmeadows at gmail.com> wrote:
> When creating iterators and async iterators outside generators, it'd
> be *extremely* useful to have these exposed more easily accessible...
Agreed.
On Tue, Aug 14, 2018 at 7:18 PM, Jordan Harband
<ljharb at gmail.com> wrote:
> Something like this:
> https://github.com/ljharb/es-abstract/blob/master/GetIntrinsic.js#L40-L46
or
>
https://github.com/tc39/test262/blob/c55d2ab7c344e35a3ceb93cf1d4d30019584db82/harness/wellKnownIntrinsicObjects.js
I must be misreading those or something, but as far as I can tell, they
both (I think they're basically the same thing) just give you a specific
generator object, not %AsyncIteratorPrototype%:
http://jsfiddle.net/urv04Lp7/
-- T.J. Crowder
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20180814/956ee6b4/attachment.html>
More information about the es-discuss
mailing list