/arkcompiler/ets_frontend/arkguard/test/grammar/array_validation/ |
D | array_expanding.ts | 20 var arr3 = [...arr1, ...arr2] variable 22 assert(arr3[3] === 4, 'success'); 24 var arr4 = [...arr3]; 25 assert(arr3[4] === arr4[4], 'success');
|
/arkcompiler/ets_runtime/test/typeinfer/tsarraytobuiltin/ |
D | tsarraytobuiltin.ts | 36 let arr3:number[] = new Array(100).fill(0, 0, 99); 37 AssertType(arr3, "number[]"); 38 AssertType(arr3[0], "number"); 39 AssertType(arr3[t], "number");
|
/arkcompiler/ets_frontend/arkguard/test/ut/utils/ |
D | ListUtil.spec.ts | 117 let arr3 = undefined; variable 119 const arrUnique = ListUtil.uniqueMergeList(arr1, arr2, arr3); 126 let arr3 = ['7', '8', '9']; variable 130 const arrUnique = ListUtil.uniqueMergeList(arr1, arr2, arr3); 140 let arr3 = ['6', '7', '8', '8']; variable 144 const arrUnique = ListUtil.uniqueMergeList(arr1, arr2, arr3);
|
/arkcompiler/ets_runtime/test/moduletest/arrayjoin/ |
D | arrayjoin.js | 41 var arr3 = [2]; variable 42 arr2[10] = arr3; 43 arr3[10] = arr2;
|
/arkcompiler/ets_runtime/test/aottest/typedarray_load_store/ |
D | typedarray_load_store.ts | 70 let arr3 = new Int32Array(buffer, 0, 5); variable 72 IntegerArray(arr3); 117 let arr3 = new Float64Array(buffer, 0, 5); variable 119 FloatArray(arr3);
|
/arkcompiler/ets_runtime/test/typeinfer/add2dyn/ |
D | add2dyn.ts | 28 let arr3 : string[] = ['1']; 30 let ans3 = arr3[0] + arr4[0]; 38 let ans5 = arr1[0] + arr3[0];
|
/arkcompiler/ets_runtime/test/typeinfer/ldobjbyvalue/ |
D | ldobjbyvalue.ts | 30 let arr3:boolean[] = [true, false, false]; 41 AssertType(arr3[t], "boolean");
|
/arkcompiler/ets_runtime/test/moduletest/proxy/ |
D | proxy.js | 63 const arr3 = proxy.constructor(1, 2, 3, 4); constant 64 print(arr3);
|
/arkcompiler/ets_runtime/test/moduletest/spreadoperator/ |
D | spreadoperator.js | 28 var arr3 = [...arr2]; variable 29 print(arr3.length); 30 print(arr3);
|
/arkcompiler/ets_runtime/test/moduletest/array/ |
D | array.js | 36 var arr3 = [1,2,3,4,5,6]; variable 37 arr3.pop(); 38 print(arr3.length); 39 print(arr3);
|
/arkcompiler/ets_runtime/test/moduletest/arraywith/ |
D | arraywith.js | 32 const arr3 = arr2.with(0, 0); constant
|
/arkcompiler/ets_runtime/test/moduletest/arraytoreversed/ |
D | arraytoreversed.js | 32 const arr3 = arr2.toReversed(); constant
|
/arkcompiler/ets_runtime/test/moduletest/arraytospliced/ |
D | arraytospliced.js | 32 const arr3 = arr2.toSpliced(0, 0); constant
|
/arkcompiler/ets_runtime/test/moduletest/container/ |
D | container_linked_list.js | 273 let arr3 = [] variable 276 arr3.push(tmp); 280 if (arr3[k] !== testArray2[k]) {
|