lexical for-in/for-of loose end

Brendan Eich brendan at mozilla.org
Mon Feb 6 23:25:47 PST 2012

Allen Wirfs-Brock wrote:
> For both, I need to think about whether it may be possible (and the impact) for a closure activation (containing a generator?) to span a iteration boundary.

Generators close over their lexical environment, yes. And of course an 
active generator can survive invoking contexts such as a single loop 


More information about the es-discuss mailing list