decord/source/13333_getOwnPropertyDescriptor.js
2026-07-27 11:26:19 +00:00

23 lines
620 B
JavaScript

// Module ID: 13333
// Function ID: 102189
// Name: getOwnPropertyDescriptor
// Dependencies: []
// Module 13333 (getOwnPropertyDescriptor)
let propertyIsEnumerable = {}.propertyIsEnumerable;
if (getOwnPropertyDescriptor) {
const obj = {};
obj[1] = 2;
getOwnPropertyDescriptor = !propertyIsEnumerable.call(obj, 1);
}
if (getOwnPropertyDescriptor) {
propertyIsEnumerable = function propertyIsEnumerable(arg0) {
const tmp = getOwnPropertyDescriptor(this, arg0);
let enumerable = !tmp2;
if (!!tmp) {
enumerable = tmp.enumerable;
}
return enumerable;
};
}
arg5.f = propertyIsEnumerable;