Fun impossible Firefox JS challenge

Brendan Eich brendan at mozilla.org
Thu Apr 12 12:23:14 PDT 2012


Allen Wirfs-Brock wrote:
> The IE9 console.log syntax error (I see it too) seem like a bug under any interpretation of the ES5.1 spec.
> My second test case actually isn't very good. console.log(fals\u0065) is actually a reference error in chrome and safari.  This is the expected behavior when referencing an undeclared variable. So they are also de-keywordizing in that context.

Try running with 'var fals\u0065;' prepended -- have to test both ways.

/be


More information about the es-discuss mailing list