Andy Wingo wrote:
On Wed 12 Feb 2014 15:22, Thaddee Tyl<[email protected]>  writes:

>  The following ES6 code's behaviour puzzled a few developers I know.
>  The results indicated below each snippet are run through
>  SpiderMonkey's implementation.

SpiderMonkey's implementation of for-let is out of date, AFAIK.  I
couldn't find a bug about it though.

Could you please file one?

ES6 specifies what Thaddee wants: a binding per iteration, and a "0th iteration binding" in case there's a closure capture in the first part of the head.

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

Reply via email to