let and strict mode
khs4473 at gmail.com
Fri Nov 16 06:18:14 PST 2012
> So the only code that would break would be expression statements
> consisting of the single identifier "let", followed by an ASI'd newline.
> Is that right?
To reply to myself, there's also this:
var let = , num = 0;
let[num] = f();
I suppose a radical but safe solution would be to only allow let in strict
mode. A carrot (or stick, depending on your point of view) to get users
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss