Andy Wingo (2013-06-14T07:01:37.000Z)
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
github at esdiscuss.org (2013-07-12T02:27:36.895Z)
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.