10 lines
350 B
JavaScript
Executable file
10 lines
350 B
JavaScript
Executable file
var FunctionPrototype = Function.prototype;
|
|
var apply = FunctionPrototype.apply;
|
|
var bind = FunctionPrototype.bind;
|
|
var call = FunctionPrototype.call;
|
|
|
|
// eslint-disable-next-line es/no-reflect -- safe
|
|
module.exports = typeof Reflect == 'object' && Reflect.apply || (bind ? call.bind(apply) : function () {
|
|
return call.apply(apply, arguments);
|
|
});
|