source: trip-planner-front/node_modules/core-js/es/instance/bind.js

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 261 bytes
Line 
1var bind = require('../function/virtual/bind');
2
3var FunctionPrototype = Function.prototype;
4
5module.exports = function (it) {
6 var own = it.bind;
7 return it === FunctionPrototype || (it instanceof Function && own === FunctionPrototype.bind) ? bind : own;
8};
Note: See TracBrowser for help on using the repository browser.