Fun impossible Firefox JS challenge

Domenic Denicola domenic at domenicdenicola.com
Thu Apr 12 08:19:48 PDT 2012


The real question is, are there test-262's for this behavior? Or for the original nonconforming `function true() { }`?
________________________________________
From: es-discuss-bounces at mozilla.org [es-discuss-bounces at mozilla.org] on behalf of Mathias Bynens [mathias at qiwi.be]
Sent: Thursday, April 12, 2012 11:06
To: Lasse Reichstein
Cc: es-discuss Steen
Subject: Re: Fun impossible Firefox JS challenge

For those interested, Spidermonkey doesn’t handle the following correctly:

    function \u0074rue() { alert('PASS'); }
    \u0074rue();

    function \u0074rue() { alert('PASS'); }
    tru\u0065();

Both these examples should alert 'PASS' in web browsers.

I filed this as bug 744784: https://bugzilla.mozilla.org/show_bug.cgi?id=744784
_______________________________________________
es-discuss mailing list
es-discuss at mozilla.org
https://mail.mozilla.org/listinfo/es-discuss



More information about the es-discuss mailing list