1 var makeIterator = require('../function/makeIterator_');
4 * Returns the index of the first item that matches criteria
6 function findIndex(arr, iterator, thisObj){
7 iterator = makeIterator(iterator, thisObj);
12 var i = -1, len = arr.length;
14 if (iterator(arr[i], i, arr)) {
22 module.exports = findIndex;