24 lines
515 B
JavaScript
24 lines
515 B
JavaScript
// Module ID: 4385
|
|
// Function ID: 38822
|
|
// Name: RequireObjectCoercible
|
|
// Dependencies: [518]
|
|
|
|
// Module 4385 (RequireObjectCoercible)
|
|
|
|
export default function RequireObjectCoercible(arg0) {
|
|
if (null == arg0) {
|
|
let tmp3 = require(518);
|
|
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;
|
|
}
|
|
};
|