let and strict mode
allen at wirfs-brock.com
Thu Nov 15 17:26:14 PST 2012
On Nov 15, 2012, at 4:44 PM, Brendan Eich wrote:
> Allen Wirfs-Brock wrote:
>> On Nov 15, 2012, at 4:17 PM, Brendan Eich wrote:
>>> Of course, 'let' short for 'letter' :-|.
>>> Contextual keyword with [no LineTerminator here] after sounds like the plan. I'm curious whether you have already implemented this in Traceur?
>> I wonder if the [no LineTerminator here] is really need in practice?
>> How often does
>> /* whatever*/ ;
>> x = "abc";
>> actually occur in real code??
> Who knows? We can chance it but should we? Optimize by daring fate, prototyping and spec'ing in draft-ES6, and if we get bad news late in the process, change course. I like it if the optimization wins. If it loses....
Another experiment would tell us more...and as Peter points out, there are people who like to put their declarator keyword on a separate line.
>> (I'm assuming that the JSC test was just making "let" a reserved id rather than a contextual keyword)
More information about the es-discuss