decord/source/4425_getEvalledConstructor.js

44 lines
1,012 B
JavaScript
Raw Normal View History

2026-07-23 10:11:24 +00:00
// Module ID: 4425
2026-07-27 11:26:19 +00:00
// Function ID: 38914
2026-07-23 10:11:24 +00:00
// Name: getEvalledConstructor
2026-07-25 08:10:48 +00:00
// Dependencies: [4426, 4427]
2026-07-23 10:11:24 +00:00
// Module 4425 (getEvalledConstructor)
2026-07-25 08:10:48 +00:00
import DefinePropertyOrThrow from "DefinePropertyOrThrow";
2026-07-23 10:11:24 +00:00
2026-07-25 08:10:48 +00:00
const tmp = require("getEvalledConstructor")("%Reflect.construct%", true);
let closure_0 = tmp;
let obj = {
"[[Get]]": function Get() {
}
};
DefinePropertyOrThrow({}, "", obj);
while (true) {
let tmp4 = DefinePropertyOrThrow;
if (!DefinePropertyOrThrow) {
break;
} else if (!tmp) {
break;
} else {
let closure_1 = {};
obj = {};
let tmp6 = DefinePropertyOrThrow;
obj = {
"[[Get]]": function Get() {
throw closure_1;
},
"[[Enumerable]]": true
};
let str = "length";
let _moduleResult1 = DefinePropertyOrThrow(obj, "length", obj);
module.exports = function IsConstructor(arg0) {
};
}
let tmp5 = module;
module.exports = function IsConstructor(arg0) {
return "function" === typeof arg0 && arg0.prototype;
};
}