1 | ;
|
2 | var NATIVE_BIND = require('../internals/function-bind-native');
|
3 |
|
4 | var FunctionPrototype = Function.prototype;
|
5 | var apply = FunctionPrototype.apply;
|
6 | var call = FunctionPrototype.call;
|
7 |
|
8 | // eslint-disable-next-line es/no-reflect -- safe
|
9 | module.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {
|
10 | return call.apply(apply, arguments);
|
11 | });
|