decord/source/13332_getOwnPropertyDescriptor.js
2026-07-25 08:10:48 +00:00

23 lines
620 B
JavaScript

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