On Feb 3, 2012, at 8:46 AM, Jason Orendorff wrote:
> My attempt at a for-let desugaring is:
> https://gist.github.com/1730064
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.
Allen
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss