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
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss