decord/source/4710_Call.js
2026-08-25 06:04:03 +00:00

27 lines
851 B
JavaScript

// Module ID: 4710
// Function ID: 4711
// Name: Call
// Dependencies: [540, 574, 4688, 541]
// Module 4710 (Call)
import getEvalledConstructor from "getEvalledConstructor" /* 540 */;
import _mod541 from "module_541" /* 541 */;
import callBoundIntrinsic from "callBoundIntrinsic" /* 574 */;
import getEvalledConstructor2 from "getEvalledConstructor" /* 4688 */;
let tmp = getEvalledConstructor("%Reflect.apply%", true);
if (!tmp) {
tmp = callBoundIntrinsic("Function.prototype.apply");
}
let closure_2 = tmp;
export default function Call(arg0, arg1) {
const tmp = arguments.length > 2 ? arguments[2] : [];
if (getEvalledConstructor2(tmp)) {
return callback(arg0, arg1, tmp);
} else {
const tmp6 = new _mod541("Assertion failed: optional `argumentsList`, if provided, must be a List");
throw tmp6;
}
const tmp2 = require;
};