let and strict mode
brendan at mozilla.com
Sun Nov 18 16:29:08 PST 2012
Yehuda Katz wrote:
> Question: does requiring strict mode for changes that break
> compatibility with ES5 really address the 1JS concerns?
Yes. 1JS is based on ES5 and so includes strict mode.
> We're making usages of the identifier let that were valid in ES5
> strict invalid in ES6 strict. Doesn't that violate 1JS?
No, you forget that ES5 strict reserves 'let' (and 'yield').
More information about the es-discuss