decord/source/5365__objectWithoutProperties.js
2026-07-24 07:16:23 +00:00

31 lines
938 B
JavaScript

// Module ID: 5365
// Function ID: 46014
// Name: _objectWithoutProperties
// Dependencies: [5366]
// Module 5365 (_objectWithoutProperties)
export default function _objectWithoutProperties(arg0, arr) {
if (null == arg0) {
return {};
} else {
const tmp5 = require(5366) /* _objectWithoutPropertiesLoose */(arg0, arr);
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;
}
};