Home
last modified time | relevance | path

Searched defs:valueOf (Results 1 – 13 of 13) 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/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_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/moduletest/objectfreeze/
Dobjectfreeze.js17 valueOf: function () { method
/arkcompiler/ets_runtime/test/moduletest/regressmathmaxmin/
Dregressmathmaxmin.js40 obj.valueOf = function() { function
/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/array/
Darray.js283 arr.indexOf(10, { valueOf() { method
286 arr.indexOf(10, { valueOf() { method
320 valueOf() { method
331 valueOf() { method
665 valueOf(a9) { method in C3
/arkcompiler/ets_runtime/test/moduletest/typearray/
Dtypearray.js693 valueOf() { method
698 valueOf() { method
/arkcompiler/ets_runtime/test/moduletest/regress/
Dregress.js58 print(JSON.stringify({ x : 1, "1": 1 }, [{ valueOf: function() { return 1;} }])); method