Searched refs:findIndex (Results 1 - 10 of 10) sorted by relevance
/arkcompiler/ets_runtime/test/moduletest/arrayFindIndexCase/ |
H A D | findIndex.js | 17 * @tc.name:findIndex 18 * @tc.desc:test array.findIndex 25 print(array1.findIndex(isLargeNumber)); 33 print(Array.prototype.findIndex.call(arrayLike, (x) => !Number.isInteger(x))); 34 print([1, , 3].findIndex((x) => x === undefined)); 46 print([4, 6, 8, 9, 12].findIndex(isPrime)); 47 print([4, 6, 7, 9, 12].findIndex(isPrime)); 50 const deleteWords = words.findIndex((word, index, arr) => { 65 print(array.findIndex(hasFirst));
|
/arkcompiler/ets_runtime/test/moduletest/arrayfindindex/ |
H A D | arrayfindindex.js | 18 * @tc.desc:test Array.findIndex 25 var index = a.findIndex(function(val){ 34 function findIndex() { function 35 return array1.findIndex(v => v > 0); 38 print(findIndex()) 53 try { v3.findIndex(f4);} catch (err) { print(err)};
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/escompat/array_js_suites/ |
H A D | test_find_index.js | 39 let found = arr.findIndex(fnTrue); 41 let foundStatic = Array.findIndex(fnTrue, arr); 44 let foundNot = arr.findIndex(fnFalse); 46 let foundNotStatic = Array.findIndex(fnFalse, arr);
|
/arkcompiler/ets_runtime/test/aottest/bigint_typed_array_constructors/ |
H A D | bigint_typed_array_constructors.js | 23 result = sample.findIndex(function() { return NaN; });
|
/arkcompiler/ets_runtime/test/moduletest/array/ |
H A D | array.js | 1251 print(array.findIndex(item => item === 5)); 1252 print(array.findIndex(item => item === 11)); 1253 print(array.findIndex(item => item > 5)); 1254 print(array.findIndex(item => item < 0)); 1255 print(array.findIndex(item => typeof item === 'string')); 1256 print(array.findIndex(item => typeof item === 'object')); 1257 print(array.findIndex(item => Array.isArray(item))); 1258 print(array.findIndex(item => item)); 1259 print(array.findIndex(item => item === null)); 1260 print(array.findIndex(ite [all...] |
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
H A D | builtins_typedarray_stub_builder.cpp | 534 Label findIndex(env);
in LastIndexOf() 542 Jump(&findIndex);
in LastIndexOf() 557 Jump(&findIndex);
in LastIndexOf() 568 Jump(&findIndex);
in LastIndexOf() 573 Jump(&findIndex);
in LastIndexOf() 578 Bind(&findIndex);
in LastIndexOf()
|
/arkcompiler/ets_runtime/test/moduletest/typearray/ |
H A D | typearray.js | 383 // Test case for findIndex() 408 let result = obj.findIndex(testFindIndex);
|
/arkcompiler/ets_runtime/test/moduletest/elements_kind/ |
H A D | elements_kind.js | 1458 // Array.findIndex 1462 let result = array1.findIndex(isLargeNumber); 2160 // Array.findIndex
|
/arkcompiler/ets_runtime/test/moduletest/elements_kind_generic/ |
H A D | elements_kind_generic.js | 1455 let result = array1.findIndex(isLargeNumber);
|
/arkcompiler/ets_frontend/es2panda/test/compiler/js/ |
H A D | cocos_worker_test.js | 6100 const e = this.childNodes.findIndex((e => e === t)); 9873 const i = t.findIndex(e); 26181 const l = this.findIndex(e, n); 26204 findIndex(t, e) { [all...] |
Completed in 46 milliseconds