File manager - Edit - /usr/local/lib/node_modules/bower/lib/node_modules/bower-config/node_modules/mout/src/array/findIndex.js
Back
define(['../function/makeIterator_'], function (makeIterator) { /** * Returns the index of the first item that matches criteria */ function findIndex(arr, iterator, thisObj){ iterator = makeIterator(iterator, thisObj); if (arr == null) { return -1; } var i = -1, len = arr.length; while (++i < len) { if (iterator(arr[i], i, arr)) { return i; } } return -1; } return findIndex; });
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings