My bad, I mixd it with esprima, on Chrome and Firefox in loose mode, let
declaration is not support.
so it's syntax error, in esprima, let let = 1 is invalid, but let private =
1 is valid.
"Eric Suen"
news:cadsmrny42euuws4akzw4_2qsbng+m_t+ke-y8mh1tauag9z...@mail.gmail.com...
In both Chrome and Firefox,
let FutureReservedWord = expr is invalid, but const | var
FutureReservedWord = expr is valid, is this defined in ES 6 or
historical reason?
let/const both are LexicalDeclaration, why behave differently?
--
------------------------------------------------
Spket IDE - Development Tool for RIA.
http://www.spket.com
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss