decord/source/4325_apply.js
2026-07-28 08:39:19 +00:00

20 lines
472 B
JavaScript

// Module ID: 4325
// Function ID: 37653
// Name: apply
// Dependencies: []
// Module 4325 (apply)
export default function apply(call) {
if (0 === arg2.length) {
return call.call(arg1);
} else if (1 === length) {
return call.call(arg1, arg2[0]);
} else if (2 === length) {
return call.call(arg1, arg2[0], arg2[1]);
} else if (3 === length) {
return call.call(arg1, arg2[0], arg2[1], arg2[2]);
} else {
return call.apply(arg1, arg2);
}
};