-- Yehuda Katz
(ph) 718.877.1325
On Nov 18, 2012 4:29 PM, "Brendan Eich" <bren...@mozilla.com> wrote:
>
> 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.

I was really asking the below question. I didn't remember that let was
reserved and therefore poses no new compatibility issues.

>
>
>> 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').

Indeed. Thanks for reminding me.

>
> /be
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to