function-apply.js 350 B

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