Yehuda Katz (2012-11-19T00:35:57.000Z)
-- Yehuda Katz
(ph) 718.877.1325
On Nov 18, 2012 4:29 PM, "Brendan Eich" <brendan at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20121118/c3750057/attachment.html>
github at esdiscuss.org (2013-07-12T02:25:50.914Z)
On Nov 18, 2012 4:29 PM, "Brendan Eich" <brendan at 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.