On 2007-07-31, at 17:34 EDT, Brendan Eich wrote: > We are now planning to automate close for all iterators, not just for > generators, when started from a for-in loop, so you could write your > own object implementing the iteration protocol, and avoid the > generator function. But the generator function is probably shortest > and it's built-in.
What happens when I call a generator function not in a loop? _______________________________________________ Es4-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es4-discuss
