9 lines
285 B
JavaScript
9 lines
285 B
JavaScript
'use strict';
|
|
var NATIVE_BIND = require('../internals/function-bind-native');
|
|
|
|
var call = Function.prototype.call;
|
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
module.exports = NATIVE_BIND ? call.bind(call) : function () {
|
|
return call.apply(call, arguments);
|
|
};
|