> On Thu, Jan 30, 2014 at 10:59 AM, John Barton
>
> That craziness is the whole point of block scoping let.  ...
>
> Give that this is the behaviour of every other block scoped language i
> don’t see why this is confusing.
>

It's not `let` vs `var` that concerns us, it's that the statement following
an if condition is not equivalent to a block.

jjb
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to