> On Mar 23, 2015, at 2:45 PM, Mark Ethan Trostler <m...@zzo.com > <mailto:m...@zzo.com>> wrote: > >> Howdy, >> Is this legal ES6 syntax: >> >> for (var x in [ 1,2,3 ] ) { ... } //? >> >> Can the 'var' be in there? There was alleged talk at some point about >> making that illegal? Hard to tell from looking at the spec thanks!!
http://people.mozilla.org/~jorendorff/es6-draft.html#sec-iteration-statements <http://people.mozilla.org/~jorendorff/es6-draft.html#sec-iteration-statements> 7th IterationStatement rule Allen
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss