lexical for-in/for-of loose end
Allen Wirfs-Brock
allen at wirfs-brock.com
Mon Feb 6 11:55:53 PST 2012
On Feb 6, 2012, at 11:24 AM, Brendan Eich wrote:
>
> You make a good point: we should not overcomplicate for(let;;) at high cost. I'm happy with Andreas's proposed 0th-iter scope desugaring, modulo nagging doubts that are going away even as I type.
particularly, when somebody who really wants per loop bindings they can easily say:
{ let i;
for (;i<n;i++; {
...
}
}
Allen
More information about the es-discuss
mailing list