es.function.bind.js 377 B

12345678910
  1. // TODO: Remove from `core-js@4`
  2. var $ = require('../internals/export');
  3. var bind = require('../internals/function-bind');
  4. // `Function.prototype.bind` method
  5. // https://tc39.es/ecma262/#sec-function.prototype.bind
  6. // eslint-disable-next-line es/no-function-prototype-bind -- detection
  7. $({ target: 'Function', proto: true, forced: Function.bind !== bind }, {
  8. bind: bind
  9. });