generator function requirements

Mark Volkmann r.mark.volkmann at
Sun Apr 12 15:59:15 UTC 2015

I couldn't find this in spec. Is it required for generator functions to
return an object that is both iterable (has Symbol.iterator method) and an
iterator (has next method). It seems Babel does this, but I want verify
whether that is required.

R. Mark Volkmann
Object Computing, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list