April 10 2014 Meeting Notes

Brendan Eich brendan at mozilla.org
Thu Apr 24 10:24:48 PDT 2014


Allen Wirfs-Brock wrote:
> If (and it's still an open question) it make sense semantically to 
> call "return" on for-of initiated  generators on unwind, then that is 
> what we should do.

That's not the proposal, though, is it?

Isn't the maybe-call of return for any iterator, whether a generator 
iterator or other object, and isn't it unconditional on whether the 
for-of implicitly created a fresh iterator via @@iterator?

/be


More information about the es-discuss mailing list