massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / core-js / es / instance / some.js
1 var isPrototypeOf = require('../../internals/object-is-prototype-of');
2 var method = require('../array/virtual/some');
3
4 var ArrayPrototype = Array.prototype;
5
6 module.exports = function (it) {
7   var own = it.some;
8   return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.some) ? method : own;
9 };