Fun impossible Firefox JS challenge

Andreas Rossberg rossberg at google.com
Thu Apr 12 07:12:33 PDT 2012


On 12 April 2012 16:11, gaz Heyes <gazheyes at gmail.com> wrote:
> 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.

That's another FF deviation from the standard, though.

/Andreas


More information about the es-discuss mailing list