The ES6 draft grammar no longer allows the following, which was legal ES5:

    for(var i = 1 in []) {}

Was that an intentional breaking change?  If so, why?  (Of course, there are 
exceedingly limited practical uses of this, but that alone doesn't seem to 
justify a breaking change).

Luke

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to