P T Withington ptw at pobox.com
Wed Aug 1 06:05:21 PDT 2007

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?

More information about the Es4-discuss mailing list