.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / core-js / features / instance / find-last-index.js
1 var findLastIndex = require('../array/virtual/find-last-index');
2
3 var ArrayPrototype = Array.prototype;
4
5 module.exports = function (it) {
6   var own = it.findLastIndex;
7   return it === ArrayPrototype || (it instanceof Array && own === ArrayPrototype.findLastIndex) ? findLastIndex : own;
8 };