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