On Tue, Aug 14, 2018 at 7:42 PM, T.J. Crowder <[email protected]> wrote: > 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/
Yeah, I think you have to go three levels along the prototype chain from what those give you to get to `%AsyncIteratorPrototype%`: http://jsfiddle.net/dbh9j7av/ Which makes sense (proto on the gen object is the async generator function's `.prototype`; its prototype is `AsyncGeneratorFunction.prototype`, and its prototype is `%AsynIteratorPrototype%`). But again, maybe I'm missing something. (If not, I probably need to send a PR to tc39 / test262.) -- T.J. Crowder _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

