On Thu Jan 01 2015 at 9:47:47 PM Gary Guo <[email protected]> wrote:

> It seems that in JSFiddle running on Firefox, let declaration is disabled.
> So this cannot explain.
>

I don't know why you'd say that, considering the fiddle works just fine.
Open your developer console and you'll see the output. Note that I'm
referring to Nightly.

Rick


> ------------------------------
> From: [email protected]
> Date: Wed, 31 Dec 2014 21:36:46 +0000
> Subject: Re: Can `let`, `static` and `yield` still be used as Identifier?
> To: [email protected]; [email protected]; [email protected];
> [email protected]
>
>   let = 1;
>   console.log(let); // 1
>
>   var let = 1;
>   console.log(let); // 1
>
>   let let = 1; // SyntaxError
>
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to