Details
-
Bug
-
Resolution: Fixed
-
P3
-
8
-
None
-
b82
-
generic
-
generic
-
Verified
Description
{code}
toString = function() {
print("global's toString called!!");
}
var obj = {};
var str = obj.toString();
if (str != "[object Object]") {
print("FAILED: toString does not return expected value");
}
{code}
prints
global's toString called!!
FAILED: toString does not return expected value
toString = function() {
print("global's toString called!!");
}
var obj = {};
var str = obj.toString();
if (str != "[object Object]") {
print("FAILED: toString does not return expected value");
}
{code}
prints
global's toString called!!
FAILED: toString does not return expected value