/third_party/jerryscript/tests/jerry/es2015/ |
D | math-functions-tonumber-rule2.js | 16 var a = {valueOf: function() { str += "a"; return 1;}}; method 17 var b = {valueOf: function() { str += "b"; return NaN;}}; method 18 var c = {valueOf: function() { str += "c"; return 2;}}; method 19 var d = {valueOf: function() { str += "d"; return Infinity;}}; method 20 var e = {valueOf: function() { str += "e"; return 3;}}; method
|
D | builtin-prototypes.js | 43 Boolean.prototype.valueOf(); method in Boolean 50 Number.prototype.valueOf(); method in Number 57 Date.prototype.valueOf(); method in Date
|
D | symbol-prototype-valueof.js | 17 Symbol.prototype.valueOf.call ('NonSymbolValue'); method in Symbol 24 Symbol.prototype.valueOf.call ({}); method in Symbol
|
D | regression-test-issue-2181.js | 19 var start = { valueOf : function ( ) { throw error; } }; method 20 var end = { valueOf : function ( ) { } }; method
|
D | regression-test-issue-3637.js | 16 var b = a.slice(0, { valueOf: function(){ a.length = 0; return 100; } }); method 22 var d = c.slice(0, { valueOf: function(){ c.length = 0; return 100; } }); method
|
D | array-prototype-copywithin.js | 94 valueOf: function() { method 104 valueOf: function() { method 114 valueOf: function() { method
|
/third_party/node/deps/npm/node_modules/es-to-primitive/test/ |
D | es6.js | 71 var coercibleObject = { valueOf: function () { return 3; }, toString: function () { return 42; } }; method 72 var valueOfOnlyObject = { valueOf: function () { return 4; }, toString: function () { return {}; } … method 73 var toStringOnlyObject = { valueOf: function () { return {}; }, toString: function () { return 7; }… method 75 valueOf: function () { return function valueOfFn() {}; }, method 78 var uncoercibleObject = { valueOf: function () { return {}; }, toString: function () { return {}; }… method 80 valueOf: function () { return function valueOfFn() {}; }, method 106 var overriddenObject = { toString: st.fail, valueOf: st.fail }; property 113 var nullToPrimitive = { toString: coercibleObject.toString, valueOf: coercibleObject.valueOf }; property 120 var nonFunctionToPrimitive = { toString: sst.fail, valueOf: sst.fail }; property 124 var uncoercibleToPrimitive = { toString: sst.fail, valueOf: sst.fail }; property [all …]
|
D | es2015.js | 71 var coercibleObject = { valueOf: function () { return 3; }, toString: function () { return 42; } }; method 72 var valueOfOnlyObject = { valueOf: function () { return 4; }, toString: function () { return {}; } … method 73 var toStringOnlyObject = { valueOf: function () { return {}; }, toString: function () { return 7; }… method 75 valueOf: function () { return function valueOfFn() {}; }, method 78 var uncoercibleObject = { valueOf: function () { return {}; }, toString: function () { return {}; }… method 80 valueOf: function () { return function valueOfFn() {}; }, method 106 var overriddenObject = { toString: st.fail, valueOf: st.fail }; property 113 var nullToPrimitive = { toString: coercibleObject.toString, valueOf: coercibleObject.valueOf }; property 120 var nonFunctionToPrimitive = { toString: sst.fail, valueOf: sst.fail }; property 124 var uncoercibleToPrimitive = { toString: sst.fail, valueOf: sst.fail }; property [all …]
|
D | es5.js | 48 var coercibleObject = { valueOf: function () { return 3; }, toString: function () { return 42; } }; method 49 var valueOfOnlyObject = { valueOf: function () { return 4; }, toString: function () { return {}; } … method 50 var toStringOnlyObject = { valueOf: function () { return {}; }, toString: function () { return 7; }… method 52 valueOf: function () { return function valueOfFn() {}; }, method 55 var uncoercibleObject = { valueOf: function () { return {}; }, toString: function () { return {}; }… method 57 valueOf: function () { return function valueOfFn() {}; }, method
|
/third_party/jerryscript/tests/jerry/ |
D | math-functions-tonumber-rule.js | 16 var a = {valueOf: function() { str += "a"; return 1;}}; method 17 var b = {valueOf: function() { str += "b"; return NaN;}}; method 18 var c = {valueOf: function() { str += "c"; return 2;}}; method
|
D | array-prototype-indexof.js | 54 valueOf: function () { method 93 valueOf: function() { method 103 valueOf: function() { method 113 valueOf: function() { method
|
D | array-prototype-lastindexof.js | 76 valueOf: function() { method 86 valueOf: function() { method 96 valueOf: function() { method
|
D | regression-test-issue-3779.js | 17 valueOf: function() { method 26 valueOf: function() { method
|
D | array-prototype-slice.js | 166 valueOf: function() { method 176 valueOf: function() { method 186 valueOf: function() { method
|
/third_party/typescript/tests/baselines/reference/ |
D | objectTypeHidingMembersOfObject.js | 5 valueOf() { } method in C 19 valueOf: () => { } method 35 C.prototype.valueOf = function () { }; method in C 43 valueOf: function () { } method
|
D | objectTypeHidingMembersOfExtendedObject.js | 16 valueOf() { } method in C 40 valueOf: () => { }, method 88 C.prototype.valueOf = function () { }; method in C 102 valueOf: function () { }, method
|
D | typeInferenceLiteralUnion.js | 22 public valueOf() { method in NumCoercible 48 NumCoercible.prototype.valueOf = function () { method in NumCoercible
|
/third_party/jerryscript/tests/jerry-test-suite/11/11.05/11.05.03/ |
D | 11.05.03-024.js | 16 valueOf: function () { method 21 valueOf: function () { method
|
D | 11.05.03-025.js | 16 valueOf: function () { method 21 valueOf: function () { method
|
/third_party/jerryscript/tests/jerry-test-suite/11/11.06/11.06.01/ |
D | 11.06.01-015.js | 16 valueOf: function () { method 25 valueOf: function () { method
|
/third_party/jerryscript/tests/jerry/es5.1/ |
D | regression-test-issue-3637.js | 16 var b = a.slice(0, { valueOf: function(){ a.length = 0; return 100; } }); method 22 var d = c.slice(0, { valueOf: function(){ c.length = 0; return 100; } }); method
|
/third_party/typescript/tests/cases/compiler/ |
D | typeInferenceLiteralUnion.ts | 11 valueOf(): number; method 21 public valueOf() { method in NumCoercible
|
/third_party/typescript/tests/cases/conformance/types/members/ |
D | objectTypeHidingMembersOfObject.ts | 4 valueOf() { } method in C 11 valueOf(): void; method
|
/third_party/node/deps/npm/node_modules/es-abstract/test/helpers/ |
D | values.js | 5 var coercibleObject = { valueOf: function () { return 3; }, toString: function () { return 42; } }; method 6 var valueOfOnlyObject = { valueOf: function () { return 4; }, toString: function () { return {}; } … method 7 var toStringOnlyObject = { valueOf: function () { return {}; }, toString: function () { return 7; }… method 8 var uncoercibleObject = { valueOf: function () { return {}; }, toString: function () { return {}; }… method
|
/third_party/node/deps/npm/node_modules/is-symbol/test/ |
D | index.js | 43 var fakeSymbol = { valueOf: function () { return Symbol('foo'); } }; method 49 var fakeSymbol = { valueOf: function () { return Symbol('foo'); } }; method 52 var notSoFakeSymbol = { valueOf: function () { return 42; } }; method
|