decord/source/13147_getOwnPropertyDescriptor.js
2026-07-21 22:01:30 +00:00

23 lines
619 B
JavaScript

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