Google indexing code patterns (Re: lexical for-in/for-of loose end)

Andrea Giammarchi andrea.giammarchi at
Wed Feb 1 09:34:47 PST 2012

I think it would be "semantically" correct to allow at least "let" there as
it is for loops

for (let i = 0; i < length; i++); // OK

for (let key in obj); // not OK ?

weird, I know destructuration is OK but for/in are still for loops

my 2 cents,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list