decord/source/4377_RequireObjectCoercible.js
2026-07-20 16:05:17 +00:00

24 lines
525 B
JavaScript

// Module ID: 4377
// Function ID: 38725
// Name: RequireObjectCoercible
// Dependencies: []
// Module 4377 (RequireObjectCoercible)
export default function RequireObjectCoercible(arg0) {
if (null == arg0) {
let tmp3 = require(dependencyMap[0]);
let text = arguments.length > 0;
if (text) {
text = arguments[1];
}
if (!text) {
text = `Cannot call method on ${arg0}`;
}
const prototype = tmp3.prototype;
tmp3 = new tmp3(text);
throw tmp3;
} else {
return arg0;
}
};