decord/source/29__objectWithoutProperties.js

32 lines
929 B
JavaScript
Raw Normal View History

2026-07-20 16:05:17 +00:00
// Module ID: 29
// Function ID: 1197
// Name: _objectWithoutProperties
2026-07-23 10:11:24 +00:00
// Dependencies: [30]
2026-07-20 16:05:17 +00:00
// Module 29 (_objectWithoutProperties)
export default function _objectWithoutProperties(arg0, arr) {
if (null == arg0) {
return {};
} else {
2026-07-23 10:11:24 +00:00
const tmp5 = require(30) /* _objectWithoutPropertiesLoose */(arg0, arr);
2026-07-20 16:05:17 +00:00
const _Object2 = Object;
if (Object.getOwnPropertySymbols) {
const _Object = Object;
const ownPropertySymbols = Object.getOwnPropertySymbols(arg0);
for (let num2 = 0; num2 < ownPropertySymbols.length; num2 = num2 + 1) {
let tmp = ownPropertySymbols[num2];
let callResult = -1 === arr.indexOf(tmp);
if (callResult) {
let propertyIsEnumerable = {}.propertyIsEnumerable;
callResult = propertyIsEnumerable.call(arg0, tmp);
}
if (callResult) {
tmp5[tmp] = arg0[tmp];
}
}
}
return tmp5;
}
};