Hello,

Do I have it right that the intention with `let' and `const' is to allow
them in strict mode?

SpiderMonkey appears to allow them, as does V8 with --harmony, but V8
without --harmony and JSC both abort on `const' in strict mode.

Likewise, none of the major engines abort on `const' in non-strict mode.
In non-strict mode in browsers, which semantics should `const' have?
The old one, with hoisting?

Regards,

Andy
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to