On Tue, Aug 14, 2018 at 7:12 PM, Isiah Meadows <[email protected]> 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 <[email protected]> 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
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

