Initializer expression on for-in syntax subject
dherman at mozilla.com
Fri Mar 14 12:29:02 PDT 2014
Sad panda. At least we can disable it in strict mode, right?
And who knows, maybe some day, some day...
Dave, dreaming of ES24
On Mar 13, 2014, at 4:59 PM, Oliver Hunt <oliver at apple.com> wrote:
> JSC has been trying to kill off the initialiser expression in the for(in) statement, but we've encountered a bunch of reasonably significant content that breaks with it disallowed (a particularly prominent one currently is http://battlelog.battlefield.com/bf4/), so we will be bringing back support for
> for (var Identifier = Expression in Expression)
> es-discuss mailing list
> es-discuss at mozilla.org
More information about the es-discuss