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

Andrea Giammarchi andrea.giammarchi at gmail.com
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,

br
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120201/cee83423/attachment.html>


More information about the es-discuss mailing list