On Mon, Jan 30, 2012 at 18:38, Brendan Eich <[email protected]> wrote: > I think we should break unconditionally and forbid =i in for(var x=i in o) > too, but that is a separate issue. This botch in grammar factoring is a > (bad) sunk cost that has zero bearing on the fresh let binding per iteration > idea. It's terrible anti-precedent. Just say no.
+1 No initializer in for-in with let. I agree with Brendan, I think we can get rid of the initializer even for for-in with var. The only code I've seen that uses this is in ES test suites. -- erik _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

