You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
285 B

3 months ago
  1. 'use strict';
  2. var NATIVE_BIND = require('../internals/function-bind-native');
  3. var call = Function.prototype.call;
  4. // eslint-disable-next-line es/no-function-prototype-bind -- safe
  5. module.exports = NATIVE_BIND ? call.bind(call) : function () {
  6. return call.apply(call, arguments);
  7. };