decord/source/13804_getOwnPropertyDescriptor.js
2026-08-25 06:04:03 +00:00

24 lines
702 B
JavaScript

// Module ID: 13804
// Function ID: 13805
// Name: getOwnPropertyDescriptor
// Dependencies: []
// Module 13804 (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 };
}