1 var findIndex = require('../array/virtual/find-index');
3 var ArrayPrototype = Array.prototype;
5 module.exports = function (it) {
6 var own = it.findIndex;
7 return it === ArrayPrototype || (it instanceof Array && own === ArrayPrototype.findIndex) ? findIndex : own;