Searched refs:arrayLike (Results 1 – 10 of 10) sorted by relevance
| /arkcompiler/ets_runtime/ecmascript/ts_types/ |
| D | lib_ark_builtins.d.ts | 559 static from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[]; 756 static from(arrayLike: ArrayLike<number>): Uint8ClampedArray; 758 …static from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8C… 760 …static from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any):… 844 static from(arrayLike: ArrayLike<number>): Uint8Array; 846 …static from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8A… 848 …static from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any):… 932 static from(arrayLike: ArrayLike<number>): Int8Array; 934 …static from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Int8Ar… 936 …static from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any):… [all …]
|
| /arkcompiler/ets_runtime/test/moduletest/arraySliceCase/ |
| D | arraySliceCase.js | 44 const arrayLike = { variable 50 print(Array.prototype.slice.call(arrayLike, 1, 3));
|
| /arkcompiler/ets_runtime/test/moduletest/arrayValuesCase/ |
| D | arrayValuesCase.js | 30 const arrayLike = { variable 36 for (const entry of Array.prototype.values.call(arrayLike)) {
|
| /arkcompiler/ets_runtime/test/moduletest/arrayFindIndexCase/ |
| D | findIndex.js | 27 const arrayLike = { variable 33 print(Array.prototype.findIndex.call(arrayLike, (x) => !Number.isInteger(x)));
|
| /arkcompiler/ets_runtime/test/moduletest/arrayfind/ |
| D | arrayfind.js | 21 const arrayLike = { variable 27 console.log(Array.prototype.find.call(arrayLike, (x) => !Number.isInteger(x)));
|
| /arkcompiler/ets_runtime/test/moduletest/arrayreducecase/ |
| D | arrayreducecase.js | 31 const arrayLike = { variable 37 print(Array.prototype.reduce.call(arrayLike, (x, y) => x + y));
|
| /arkcompiler/ets_runtime/test/moduletest/arrayFilterCase/ |
| D | arrayFilterCase.js | 44 const arrayLike = { variable 50 print(Array.prototype.filter.call(arrayLike, (x) => x <= "b"));
|
| /arkcompiler/ets_runtime/test/moduletest/elements_kind/ |
| D | elements_kind.js | 1421 const arrayLike = { variable 1428 let result = Array.prototype.filter.call(arrayLike, (x) => x <= "b");
|
| /arkcompiler/ets_runtime/ecmascript/builtins/ |
| D | builtins_typedarray.cpp | 270 JSHandle<JSTaggedValue> arrayLike(arrayLikeObj); in From() local 273 …JSHandle<JSTaggedValue> lenResult = JSTaggedValue::GetProperty(thread, arrayLike, lengthKey).GetVa… in From() 301 kValue.Update(ObjectFastOperator::FastGetPropertyByValue(thread, arrayLike.GetTaggedValue(), in From()
|
| D | builtins_array.cpp | 273 JSHandle<JSTaggedValue> arrayLike(arrayLikeObj); in From() local 275 int64_t len = ArrayHelper::GetArrayLength(thread, arrayLike); in From() 311 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, arrayLike, k); in From()
|