decord/source/13321_getOwnPropertyDescriptor.js
2026-07-24 07:16:23 +00:00

23 lines
620 B
JavaScript

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