Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/test/moduletest/number/
Dnumber.js161 var num_1 = { valueOf: function() { result += "first"; return 1; } }; method
162 var num_2 = { valueOf: function() { result += "second"; return 2; } }; method
168 num_1 = { valueOf: function() { result += "first"; return 1; } }; method
174 num_2 = { valueOf: function() { result += "second"; return 2; } }; method
/arkcompiler/ets_runtime/test/moduletest/arrayincludesindexof/
Darrayincludesindexof.js25 const objN = { valueOf() { return 2; } }; method
26 const objS = { valueOf() { return "3.456" } }; method
27 const objB = { valueOf() { return 4n; } }; method
28 const objNN = { valueOf() { return objN; } }; method
66 const objN = { valueOf() { return 0; } }; method
91 { valueOf() { return 0; } }, // Another object method
/arkcompiler/ets_frontend/es2panda/test/compiler/js/postfixUpdateExpression/
Dpostfix-increment-operator.js18 valueOf: function () { method
Dpostfix-decrement-operator.js18 valueOf: function () { method
/arkcompiler/ets_runtime/test/aottest/pgo_class_update/
Dpgo_class_update.js20 static valueOf() { } method in C3
/arkcompiler/ets_runtime/test/moduletest/regressparseInt/
DregressparseInt.js23 let radix = { valueOf: function() { result = "InvalidRadix"; throw null; } }; method
/arkcompiler/ets_runtime/test/aottest/definefieldbyvalue/
Ddefinefieldbyvalue.js18 valueOf: function() { method
/arkcompiler/ets_runtime/test/moduletest/arraysplice/
Darraysplice.js47 let bad_start = { valueOf: function () { array.push(2 * i); return -1; } }; method
48 let bad_count = { valueOf: function () { array.push(2 * i + 1); return 1; } }; method
/arkcompiler/ets_runtime/test/moduletest/objectfreeze/
Dobjectfreeze.js17 valueOf: function () { method
/arkcompiler/ets_runtime/test/moduletest/regressmathmaxmin/
Dregressmathmaxmin.js40 obj.valueOf = function() { function
/arkcompiler/ets_runtime/test/aottest/isin/
Disin.js28 valueOf: function() { method
/arkcompiler/ets_runtime/test/moduletest/arrayslice/
Darrayslice.js19 valueOf: function() { method
/arkcompiler/ets_runtime/test/aottest/vtable/not_inherit_info/not_meet_rule3/
Dnot_meet_rule3.ts104 get valueOf() { method in C6
/arkcompiler/ets_runtime/test/aottest/vtable/not_inherit_info/not_meet_rule5/
Dnot_meet_rule5.ts99 valueOf:number; property in C6
/arkcompiler/ets_runtime/test/moduletest/arraysort/
Darraysort.js657 Cat.prototype.valueOf = function () { method in Cat
676 Cat.prototype.valueOf = function () { method in Cat
695 Cat.prototype.valueOf = function () { method in Cat
/arkcompiler/ets_runtime/test/moduletest/array/
Darray.js276 arr.indexOf(10, { valueOf() { method
279 arr.indexOf(10, { valueOf() { method
320 valueOf() { method
332 valueOf() { method
675 valueOf(a9) { method in C3
/arkcompiler/ets_runtime/test/moduletest/regress/
Dregress.js58 print(JSON.stringify({ x : 1, "1": 1 }, [{ valueOf: function() { return 1;} }])); method
/arkcompiler/ets_runtime/test/moduletest/typearray/
Dtypearray.js889 valueOf() { method
894 valueOf() { method
/arkcompiler/ets_runtime/ecmascript/compiler/
Dstub_builder.cpp13095 Label valueOf(env); in OrdinaryToPrimitive() local