this vs thi\u0073

Brendan Eich brendan at mozilla.com
Tue Jun 21 11:54:44 PDT 2011


I think some engines just have a bug to fix here, nothing more. :-/

/be

On Jun 21, 2011, at 11:48 AM, Mike Samuel wrote:

> 2011/6/21 Mike Samuel <mikesamuel at gmail.com>:
>> In that case, we still have at least 3 (haven't tested IE) of 4 major
>> browsers agreeing that the illegal EcmaScript program
>> 
>>    this.\u0069\u0066 = function () { alert("called \u0069\u0066"); };
>> 
>>    \u0069\u0066(false)
>>    alert(1);
>> 
>> should be interpreted as a call via the reference "if" followed by a
>> call via the reference "alert".
> 
> I tested on IE 7 and IE 8 and they both reject the above.
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss



More information about the es-discuss mailing list