Files
memecoin-botV2/.pnpm-store/v10/files/b1/f2e3e13415d1ff52941375588e88c28c334a3e9a60fe7d0f643c12480f2e08d5bea39a40b4a725a2a09e4d0387825ead2c91d89ef6751624f6715e35dcbfe5

15 lines
494 B
Plaintext

function _object_without_properties_loose(source, excluded) {
if (source == null) return {};
var target = {}, sourceKeys = Object.getOwnPropertyNames(source), key, i;
for (i = 0; i < sourceKeys.length; i++) {
key = sourceKeys[i];
if (excluded.indexOf(key) >= 0) continue;
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
target[key] = source[key];
}
return target;
}
export { _object_without_properties_loose as _ };