decord/source/4648_Call.js

22 lines
614 B
JavaScript
Raw Normal View History

2026-08-12 06:57:52 +00:00
// Module ID: 4648
// Function ID: 4649
2026-07-29 08:29:29 +00:00
// Name: Call
2026-08-12 06:57:52 +00:00
// Dependencies: [540, 574, 4626, 541]
2026-07-29 08:29:29 +00:00
2026-08-12 06:57:52 +00:00
// Module 4648 (Call)
2026-07-29 08:29:29 +00:00
let tmp = require("getEvalledConstructor")("%Reflect.apply%", true);
if (!tmp) {
tmp = require("callBoundIntrinsic")("Function.prototype.apply");
}
export default function Call(arg0, arg1) {
const tmp = arguments.length > 2 ? arguments[2] : [];
2026-08-12 06:57:52 +00:00
if (require(4626) /* getEvalledConstructor */(tmp)) {
2026-07-29 08:29:29 +00:00
return tmp(arg0, arg1, tmp);
} else {
const tmp6 = new tmp2(541)("Assertion failed: optional `argumentsList`, if provided, must be a List");
throw tmp6;
}
tmp2 = require;
};