Node-Red configuration
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

function-apply.js 401B

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