Lines Matching refs:prototype
24 ECMA Section: 15.2.4.3 Object.prototype.valueOf()
41 var TITLE = "Object.prototype.valueOf()";
53 myarray.valueOf = Object.prototype.valueOf;
55 myboolean.valueOf = Object.prototype.valueOf;
57 myfunction.valueOf = Object.prototype.valueOf;
59 myobject.valueOf = Object.prototype.valueOf;
61 mymath.valueOf = Object.prototype.valueOf;
63 mydate.valueOf = Object.prototype.valueOf;
65 mynumber.valueOf = Object.prototype.valueOf;
67 mystring.valueOf = Object.prototype.valueOf;
69 array[item++] = new TestCase( SECTION, "Object.prototype.valueOf.length", 0, Object.prototype.valueOf.length );
72 "myarray = new Array(); myarray.valueOf = Object.prototype.valueOf; myarray.valueOf()",
76 "myboolean = new Boolean(); myboolean.valueOf = Object.prototype.valueOf; myboolean.valueOf()",
80 "myfunction = new Function(); myfunction.valueOf = Object.prototype.valueOf; myfunction.valueOf()",
84 "myobject = new Object(); myobject.valueOf = Object.prototype.valueOf; myobject.valueOf()",
88 "mymath = Math; mymath.valueOf = Object.prototype.valueOf; mymath.valueOf()",
92 "mynumber = new Number(); mynumber.valueOf = Object.prototype.valueOf; mynumber.valueOf()",
96 "mystring = new String(); mystring.valueOf = Object.prototype.valueOf; mystring.valueOf()",
100 "mydate = new Date(); mydate.valueOf = Object.prototype.valueOf; mydate.valueOf()",