first
This commit is contained in:
11
node_modules/core-js/internals/function-apply.js
generated
vendored
Normal file
11
node_modules/core-js/internals/function-apply.js
generated
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
'use strict';
|
||||
var NATIVE_BIND = require('../internals/function-bind-native');
|
||||
|
||||
var FunctionPrototype = Function.prototype;
|
||||
var apply = FunctionPrototype.apply;
|
||||
var call = FunctionPrototype.call;
|
||||
|
||||
// eslint-disable-next-line es/no-reflect -- safe
|
||||
module.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {
|
||||
return call.apply(apply, arguments);
|
||||
});
|
Reference in New Issue
Block a user