Initializer expression on for-in syntax subject

Andreas Rossberg rossberg at google.com
Fri Mar 14 13:46:49 PDT 2014


On 14 March 2014 00:59, 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)

I'd be curious to know what the actual code is, and to get an idea why
they are using it that way.

/Andreas


More information about the es-discuss mailing list