Home
last modified time | relevance | path

Searched refs:arr3 (Results 1 - 18 of 18) sorted by relevance

/arkcompiler/ets_runtime/test/moduletest/arrayflatmap/
H A Darrayflatmap.js42 var arr3 = [0, 1, , , 4, , 6, 7, 8, 9]; variable
43 arr3.__proto__.push(0);
44 arr3.__proto__.push(1);
45 arr3.__proto__.push(2);
46 arr3.__proto__.push(3);
56 var result3 = arr3.flatMap(testFunction);
58 arr3.__proto__.pop(0);
59 arr3.__proto__.pop(1);
60 arr3.__proto__.pop(2);
61 arr3
[all...]
/arkcompiler/ets_runtime/test/moduletest/arrayfindlastindex/
H A Darrayfindlastindex.js46 let arr3 = [1, 2, , 7, , undefined];
47 arr3.__proto__.push(9);
48 arr3.__proto__.push(9);
49 arr3.__proto__.push(9);
53 print(arr3.findLastIndex(fun1));
54 arr3.__proto__.pop(9);
55 arr3.__proto__.pop(9);
56 arr3.__proto__.pop(9);
/arkcompiler/ets_runtime/test/moduletest/addelementinternal/
H A Daddelementinternal.js35 let arr3 = {x: 1,y:3};
37 arr3[i] = `value ${i}`;
38 if (i ==3) delete arr3[i];
41 print(arr3[i]);
/arkcompiler/ets_runtime/test/moduletest/arrayforeach/
H A Darrayforeach.js86 var arr3 = new Array(10);
87 arr3[1] = undefined;
88 arr3.forEach(callbackfn3);
/arkcompiler/ets_runtime/test/moduletest/arrayjoin/
H A Darrayjoin.js41 var arr3 = [2]; variable
42 arr2[10] = arr3;
43 arr3[10] = arr2;
/arkcompiler/ets_runtime/test/moduletest/spreadoperator/
H A Dspreadoperator.js28 var arr3 = [...arr2]; variable
29 print(arr3.length);
30 print(arr3);
/arkcompiler/ets_runtime/test/moduletest/arrayfindlast/
H A Darrayfindlast.js64 var arr3 = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; variable
74 result = arr3.findLast(testFunction);
/arkcompiler/ets_runtime/test/moduletest/arraysort/
H A Darraysort.js97 let arr3 = [1, 3, 2];
98 arr3.sort((a, b) => {
100 arr3[4] == 2;
104 print(JSON.stringify(arr3));
/arkcompiler/ets_runtime/test/moduletest/proxy/
H A Dproxy.js62 const arr3 = proxy.constructor(1, 2, 3, 4);
63 print(arr3);
/arkcompiler/ets_runtime/test/moduletest/arraytoreversed/
H A Darraytoreversed.js32 const arr3 = arr2.toReversed();
/arkcompiler/ets_runtime/test/moduletest/arraytospliced/
H A Darraytospliced.js32 const arr3 = arr2.toSpliced(0, 0);
/arkcompiler/ets_runtime/test/moduletest/arraywith/
H A Darraywith.js32 const arr3 = arr2.with(0, 0);
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/tests/js_files/
H A Dheapdump.js54 let arr3 = new Uint16Array();
/arkcompiler/ets_runtime/test/moduletest/typearray/
H A Dtypearray.js793 let arr3 = new ctor([5, 4, 3, 2, 1]);
794 if (arr2.length !== arr3.length) return false;
796 if (arr2[i] !== arr3[i]) return false;
815 let arr3 = new ctor([5n, 4n, 3n, 2n, 1n]);
816 if (arr2.length !== arr3.length) return false;
818 if (arr2[i] !== arr3[i]) return false;
/arkcompiler/ets_runtime/test/moduletest/container/
H A Dcontainer_linked_list.js273 let arr3 = [];
276 arr3.push(tmp);
280 if (arr3[k] !== testArray2[k]) {
/arkcompiler/ets_runtime/test/moduletest/arrayfrom/
H A Darrayfrom.js109 let arr3 = MyArray3.from([1,2,3,4]);
110 print(JSON.stringify(arr3));
/arkcompiler/ets_runtime/test/moduletest/array/
H A Darray.js36 var arr3 = [1, 2, 3, 4, 5, 6]; variable
37 arr3.pop();
38 print(arr3.length);
39 print(arr3);
329 const arr3 = new Proxy([15, 25, 35, 45, 55, 65], arrProxyHandler);
330 const result3 = arr3.lastIndexOf(45, {
332 arr3.length = 2; // Side effects to arr3
1512 let arr3 = [1, 2, 2, 3, 4, 2];
1513 print(arr3
[all...]
/arkcompiler/ets_runtime/ecmascript/napi/test/
H A Djsnapi_sample.cpp2719 Local<ArrayRef> arr3 = jsArr3; in HWTEST_F_L0() local
2720 uint32_t arr3Length = arr3->Length(vm_); in HWTEST_F_L0()
2721 GTEST_LOG_(INFO) << "arr3 length : " << arr3Length; in HWTEST_F_L0()
2723 Local<JSValueRef> arr3Item = ArrayRef::GetValueAt(vm_, arr3, i); in HWTEST_F_L0()
2725 GTEST_LOG_(INFO) << "arr3 index : " << i << " value : " << b; in HWTEST_F_L0()

Completed in 12 milliseconds