Can `let`, `static` and `yield` still be used as Identifier?

Till Schneidereit till at tillschneidereit.net
Fri Jan 2 08:38:11 PST 2015


Gary is right: `let` is disabled for web content in Firefox because our
version isn't spec-compatible enough yet. In the shell or chrome code,
where it is enabled, our behavior matches traceur's in that we treat the
given examples as errors, too.

On Fri, Jan 2, 2015 at 4:40 PM, Gary Guo <nbdd0121 at hotmail.com> wrote:

> Thanks for your note, I'm not testing it under Nightly. Did you test that
> the 'let' declaration is working properly in JSFiddle? It may not be
> enabled in web pages by default if the script doesn't declare to be
> javascript 1.7.
>
> ------------------------------
> From: waldron.rick at gmail.com
> Date: Fri, 2 Jan 2015 14:23:31 +0000
> Subject: Re: Can `let`, `static` and `yield` still be used as Identifier?
> To: nbdd0121 at hotmail.com
> CC: es-discuss at mozilla.org
>
>
>
> On Thu Jan 01 2015 at 9:47:47 PM Gary Guo <nbdd0121 at 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
>
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150102/cdc16f1f/attachment-0001.html>


More information about the es-discuss mailing list