Fun impossible Firefox JS challenge

gaz Heyes gazheyes at gmail.com
Thu Apr 12 07:11:06 PDT 2012


On 12 April 2012 14:51, Lasse Reichstein <reichsteinatwork at gmail.com> wrote:

> On Thu, Apr 12, 2012 at 2:58 PM, gaz Heyes <gazheyes at gmail.com> wrote:
> > function true(){alert('Call me');};
>
> Is this a deliberate Mozilla change, or just a bug ("true" being a
> keyword and not valid as a function name in plain ECMAScript)?
>
> And, btw,
>  /* MY CODE */
>  tru\u0065();
>

Haha nice try even with unicode escapes it still refers to "true" the
boolean not the function.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120412/74e5249c/attachment.html>


More information about the es-discuss mailing list