node-ejs-renderer/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js

12 lines
435 B
JavaScript
Raw Normal View History

2024-06-09 13:55:01 -04:00
function _objectWithoutPropertiesLoose(source, excluded) {
if (source == null) return {};
var target = {};
for (var key in source) {
if (Object.prototype.hasOwnProperty.call(source, key)) {
if (excluded.indexOf(key) >= 0) continue;
target[key] = source[key];
}
}
return target;
}
module.exports = _objectWithoutPropertiesLoose, module.exports.__esModule = true, module.exports["default"] = module.exports;