Firefox does parse `let=1` as illegal, and I think this is a desired behavior. Otherwise you can't use `let` in non-strict mode, which is bad.
29.12.2014, 17:39, "Erik Arvidsson" <[email protected]>:
This is a bug in Traceur.
On Mon, Dec 29, 2014, 11:35 Gary Guo <[email protected]> wrote:,_______________________________________________From the specification I saw `yield` is being explicitly declared as an possible Identifier in non-strict mode, and there `let`, `static` are parsed as identifier first. However, I did not see anyway to distinguish `let` identifier and `let` keyword. `let=1` is parsed as illegal in traceur, and so does `static=1`. Is this a bug of traceur or it is intended? It would be incompatible in non-strict mode if this is intended. (And if this is intended, there will be no reason for keep `let` and `static` non-reserved-word during lex stage)
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

