mirror of
https://github.com/joelwmale/webhook-action.git
synced 2024-08-25 08:08:00 +00:00
14 lines
387 B
JavaScript
Generated
14 lines
387 B
JavaScript
Generated
'use strict';
|
|
|
|
var GetIntrinsic = require('get-intrinsic');
|
|
var callBound = require('call-bind/callBound');
|
|
|
|
var $apply = GetIntrinsic('%Reflect.apply%', true) || callBound('%Function.prototype.apply%');
|
|
|
|
// https://ecma-international.org/ecma-262/6.0/#sec-call
|
|
|
|
module.exports = function Call(F, V) {
|
|
var args = arguments.length > 2 ? arguments[2] : [];
|
|
return $apply(F, V, args);
|
|
};
|