No more modes?

Dmitry A. Soshnikov dmitry.soshnikov at gmail.com
Mon Oct 18 05:07:12 PDT 2010


  On 18.10.2010 14:47, Dmitry A. Soshnikov wrote:
> P.S.[2]: also it seems I missed something, can someone clarify -- are 
> `let` and `const` are removed from Harmony proposals since they 
> shouldn't appear in ES5-strict (in the recommendations for 
> implementations as I see) and since ES6 will be built on ES-strict?
>

Sorry, got it. "Do not extend strict mode with declarations or statments 
using the keywords |const| or |let|" means do not allow use them as 
simple variable names, 'cause they are reserved for ES6.

Dmitry.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20101018/f3c1aaa9/attachment.html>


More information about the es-discuss mailing list