BUG
aijinhui
2024-03-26 0789e8546f8b5e68590e5ad7f4eb1d5c54e6cc22
1
2
3
4
5
6
7
8
9
var isPrototypeOf = require('../../internals/object-is-prototype-of');
var method = require('../array/virtual/find-last-index');
 
var ArrayPrototype = Array.prototype;
 
module.exports = function (it) {
  var own = it.findLastIndex;
  return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.findLastIndex) ? method : own;
};