/arkcompiler/ets_runtime/test/moduletest/arrayflatmap/ |
H A D | arrayflatmap.js | 42 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 D | arrayfindlastindex.js | 46 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 D | addelementinternal.js | 35 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 D | arrayforeach.js | 86 var arr3 = new Array(10); 87 arr3[1] = undefined; 88 arr3.forEach(callbackfn3);
|
/arkcompiler/ets_runtime/test/moduletest/arrayjoin/ |
H A D | arrayjoin.js | 41 var arr3 = [2]; variable 42 arr2[10] = arr3; 43 arr3[10] = arr2;
|
/arkcompiler/ets_runtime/test/moduletest/spreadoperator/ |
H A D | spreadoperator.js | 28 var arr3 = [...arr2];
variable 29 print(arr3.length);
30 print(arr3);
|
/arkcompiler/ets_runtime/test/moduletest/arrayfindlast/ |
H A D | arrayfindlast.js | 64 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 D | arraysort.js | 97 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 D | proxy.js | 62 const arr3 = proxy.constructor(1, 2, 3, 4); 63 print(arr3);
|
/arkcompiler/ets_runtime/test/moduletest/arraytoreversed/ |
H A D | arraytoreversed.js | 32 const arr3 = arr2.toReversed();
|
/arkcompiler/ets_runtime/test/moduletest/arraytospliced/ |
H A D | arraytospliced.js | 32 const arr3 = arr2.toSpliced(0, 0);
|
/arkcompiler/ets_runtime/test/moduletest/arraywith/ |
H A D | arraywith.js | 32 const arr3 = arr2.with(0, 0);
|
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/tests/js_files/ |
H A D | heapdump.js | 54 let arr3 = new Uint16Array();
|
/arkcompiler/ets_runtime/test/moduletest/typearray/ |
H A D | typearray.js | 793 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 D | container_linked_list.js | 273 let arr3 = []; 276 arr3.push(tmp); 280 if (arr3[k] !== testArray2[k]) {
|
/arkcompiler/ets_runtime/test/moduletest/arrayfrom/ |
H A D | arrayfrom.js | 109 let arr3 = MyArray3.from([1,2,3,4]); 110 print(JSON.stringify(arr3));
|
/arkcompiler/ets_runtime/test/moduletest/array/ |
H A D | array.js | 36 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 D | jsnapi_sample.cpp | 2719 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()
|