decord/source/13524_getOwnPropertyDescriptor.js
2026-08-06 08:05:19 +00:00

24 lines
702 B
JavaScript

// Module ID: 13524
// Function ID: 13525
// Name: getOwnPropertyDescriptor
// Dependencies: []
// Module 13524 (getOwnPropertyDescriptor)
let propertyIsEnumerable = {}.propertyIsEnumerable;
if (!getOwnPropertyDescriptor) {
if (getOwnPropertyDescriptor) {
propertyIsEnumerable = function propertyIsEnumerable(SymbolResult) {
const tmp = getOwnPropertyDescriptor(this, SymbolResult);
return tmp && tmp.enumerable;
};
}
arg5.f = propertyIsEnumerable;
} else {
const call = propertyIsEnumerable.call;
if (typeof call === "unknown") {
let propertyIsEnumerableResult = require("module_1");
} else {
propertyIsEnumerableResult = call(obj, 1);
}
obj = { 1: 2 };
}