Brendan Eich (2013-09-06T16:11:22.000Z)
> Domenic Denicola <mailto:domenic at domenicdenicola.com>
> September 6, 2013 9:06 AM
> From: Brendan Eich [brendan at mozilla.com]
>
>
> Hmm, getting somewhere here. Could you expand on this? E.g. give a 
> code example where the observable results would be different if it 
> returned a iteratable-iterator instead of a generator?

In a debugger, I would see extra frames (without the debugger working to 
merge them to preserve the appearance of a generator with let blocks). 
Think about nested for-of heads, lifetimes of bindings. You need nested 
closures in general.

/be
domenic at domenicdenicola.com (2013-09-17T19:59:42.477Z)
Domenic Denicola <mailto:domenic at domenicdenicola.com> September 6, 2013 9:06 AM

> Hmm, getting somewhere here. Could you expand on this? E.g. give a 
> code example where the observable results would be different if it 
> returned a iteratable-iterator instead of a generator?

In a debugger, I would see extra frames (without the debugger working to 
merge them to preserve the appearance of a generator with let blocks). 
Think about nested for-of heads, lifetimes of bindings. You need nested 
closures in general.