lexical for-in/for-of loose end
allen at wirfs-brock.com
Fri Feb 3 10:52:47 PST 2012
On Feb 3, 2012, at 8:46 AM, Jason Orendorff wrote:
> My attempt at a for-let desugaring is:
yes, similar to https://mail.mozilla.org/pipermail/es-discuss/2008-October/007819.html
the real issue with per iteration binding and for(;;) is closure capture in the (;;). This is admirably rare, but your definition (and Mark's) means that when it occurs it is unlikely to do what the programmer intended.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss