You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

8 lines
216 B

'use strict';
var findIndex = require('../find-index/shim');
module.exports = function (predicate/*, thisArg*/) {
var index = findIndex.apply(this, arguments);
return (index === -1) ? undefined : this[index];
};