Intentional breaking change in ES6 draft spec?

Andy Wingo wingo at igalia.com
Fri Jun 14 00:01:37 PDT 2013


On Fri 14 Jun 2013 04:24, Luke Hoban <lukeh at microsoft.com> writes:

> (I believe this introduces the only place that "var x" is allowed but
> cannot have an initializer?).

FWIW, there are similar situations in the same spot of the grammar: "let
x" can't have an initializer in for-of or for-in, and neither can "var
x" in for-of.

Regards,

Andy


More information about the es-discuss mailing list