Initializer expression on for-in syntax subject

Brendan Eich brendan at
Fri Mar 14 13:53:20 PDT 2014

Andreas Rossberg wrote:
> On 14 March 2014 00:59, Oliver Hunt<oliver at>  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
>> >, 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.
   for (var i = 0 in

I say we should evangelize this site. Cc'ing some awesome Mozilla site 


More information about the es-discuss mailing list