Opera Clobbers Object.prototype with FunctionExpression? Wednesday, 3 October 2007
(function(){
propertyIsEnumerable = function(){ alert(123); };
( {} ).propertyIsEnumerable( "name" );
})();
In opera 9.2, both Mac and Windows, I get the alert.
This happens when adding a FunctionExpression property to the global object. The problem only happens when the property name corresponds to a native method.
Hopefully Futhark, Opera 9.5's new script engine that will replace linear_b, will address this problem.
Technorati Tags: JavaScript Opera Bugs FunctionExpression
Posted by
at 8:01 PM in
JavaScript


AnimTree