Home
last modified time | relevance | path

Searched defs:valueOf (Results 1 – 25 of 122) sorted by relevance

12345

/third_party/jerryscript/tests/jerry/es2015/
Dmath-functions-tonumber-rule2.js16 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
Dbuiltin-prototypes.js43 Boolean.prototype.valueOf(); method in Boolean
50 Number.prototype.valueOf(); method in Number
57 Date.prototype.valueOf(); method in Date
Dsymbol-prototype-valueof.js17 Symbol.prototype.valueOf.call ('NonSymbolValue'); method in Symbol
24 Symbol.prototype.valueOf.call ({}); method in Symbol
Dregression-test-issue-2181.js19 var start = { valueOf : function ( ) { throw error; } }; method
20 var end = { valueOf : function ( ) { } }; method
Dregression-test-issue-3637.js16 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
Darray-prototype-copywithin.js94 valueOf: function() { method
104 valueOf: function() { method
114 valueOf: function() { method
Darray-prototype-fill.js193 valueOf: function() { method
203 valueOf: function() { method
213 valueOf: function() { method
/third_party/typescript/tests/baselines/reference/
DobjectTypeHidingMembersOfObject.js5 valueOf() { } method in C
19 valueOf: () => { } method
35 C.prototype.valueOf = function () { }; method in C
43 valueOf: function () { } method
DobjectTypeHidingMembersOfExtendedObject.js16 valueOf() { } method in C
40 valueOf: () => { }, method
88 C.prototype.valueOf = function () { }; method in C
102 valueOf: function () { }, method
DtypeInferenceLiteralUnion.js22 public valueOf() { method in NumCoercible
48 NumCoercible.prototype.valueOf = function () { method in NumCoercible
/third_party/jerryscript/tests/jerry/
Dmath-functions-tonumber-rule.js16 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
Darray-prototype-indexof.js54 valueOf: function () { method
93 valueOf: function() { method
103 valueOf: function() { method
113 valueOf: function() { method
Darray-prototype-lastindexof.js76 valueOf: function() { method
86 valueOf: function() { method
96 valueOf: function() { method
Dregression-test-issue-3779.js17 valueOf: function() { method
26 valueOf: function() { method
Darray-prototype-slice.js166 valueOf: function() { method
176 valueOf: function() { method
186 valueOf: function() { method
/third_party/node/test/fixtures/wpt/wasm/jsapi/global/
Dconstructor.any.js49 valueOf() { method
116 [{ valueOf() { return "8" } }, 8, "object with valueOf returning string"], method
118 [{ valueOf() { return 9 } }, 9, "object with valueOf returning number"], method
141 [{ valueOf() { return "8" } }, 8n, "object with valueOf returning string"], method
143 [{ valueOf() { return 9n } }, 9n, "object with valueOf returning bigint"], method
157 { valueOf() { return 8 } }, method
/third_party/jerryscript/tests/jerry-test-suite/11/11.05/11.05.03/
D11.05.03-024.js16 valueOf: function () { method
21 valueOf: function () { method
D11.05.03-025.js16 valueOf: function () { method
21 valueOf: function () { method
/third_party/jerryscript/tests/jerry-test-suite/11/11.06/11.06.01/
D11.06.01-015.js16 valueOf: function () { method
25 valueOf: function () { method
/third_party/jerryscript/tests/jerry/es5.1/
Dregression-test-issue-3637.js16 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/
DtypeInferenceLiteralUnion.ts11 valueOf(): number; method
21 public valueOf() { method in NumCoercible
/third_party/typescript/tests/cases/conformance/types/members/
DobjectTypeHidingMembersOfObject.ts4 valueOf() { } method in C
11 valueOf(): void; method
DobjectTypeHidingMembersOfExtendedObject.ts16 valueOf() { } method in C
28 valueOf(): void; method
/third_party/node/test/fixtures/wpt/wasm/jsapi/table/
Dget-set.any.js44 valueOf: t.unreached_func("Should not touch the argument (valueOf)"), property
75 valueOf: t.unreached_func("Should not touch the argument (valueOf)"), property
186 { valueOf() { return 0x100000000; } }, method
208 valueOf() { method
/third_party/jerryscript/tests/jerry-test-suite/11/11.04/11.04.06/
D11.04.06-018.js16 valueOf: function () { method

12345