Home
last modified time | relevance | path

Searched refs:arr3 (Results 1 – 14 of 14) sorted by relevance

/arkcompiler/ets_frontend/arkguard/test/grammar/array_validation/
Darray_expanding.ts20 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/
Dtsarraytobuiltin.ts36 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/
DListUtil.spec.ts117 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/
Darrayjoin.js41 var arr3 = [2]; variable
42 arr2[10] = arr3;
43 arr3[10] = arr2;
/arkcompiler/ets_runtime/test/aottest/typedarray_load_store/
Dtypedarray_load_store.ts70 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/
Dadd2dyn.ts28 let arr3 : string[] = ['1'];
30 let ans3 = arr3[0] + arr4[0];
38 let ans5 = arr1[0] + arr3[0];
/arkcompiler/ets_runtime/test/typeinfer/ldobjbyvalue/
Dldobjbyvalue.ts30 let arr3:boolean[] = [true, false, false];
41 AssertType(arr3[t], "boolean");
/arkcompiler/ets_runtime/test/moduletest/proxy/
Dproxy.js63 const arr3 = proxy.constructor(1, 2, 3, 4); constant
64 print(arr3);
/arkcompiler/ets_runtime/test/moduletest/spreadoperator/
Dspreadoperator.js28 var arr3 = [...arr2]; variable
29 print(arr3.length);
30 print(arr3);
/arkcompiler/ets_runtime/test/moduletest/array/
Darray.js36 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/
Darraywith.js32 const arr3 = arr2.with(0, 0); constant
/arkcompiler/ets_runtime/test/moduletest/arraytoreversed/
Darraytoreversed.js32 const arr3 = arr2.toReversed(); constant
/arkcompiler/ets_runtime/test/moduletest/arraytospliced/
Darraytospliced.js32 const arr3 = arr2.toSpliced(0, 0); constant
/arkcompiler/ets_runtime/test/moduletest/container/
Dcontainer_linked_list.js273 let arr3 = [] variable
276 arr3.push(tmp);
280 if (arr3[k] !== testArray2[k]) {