On Thu Jan 01 2015 at 9:47:47 PM Gary Guo <nbdd0...@hotmail.com> 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: waldron.r...@gmail.com
> Date: Wed, 31 Dec 2014 21:36:46 +0000
> Subject: Re: Can `let`, `static` and `yield` still be used as Identifier?
> To: a...@kocharin.ru; erik.arvids...@gmail.com; nbdd0...@hotmail.com;
> es-discuss@mozilla.org
>
>   let = 1;
>   console.log(let); // 1
>
>   var let = 1;
>   console.log(let); // 1
>
>   let let = 1; // SyntaxError
>
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to