@babel/runtime-corejs2
Version:
babel's modular runtime helpers with core-js@2 polyfilling
14 lines • 657 B
JavaScript
var _Object$getOwnPropertySymbols = require("core-js/library/fn/object/get-own-property-symbols.js");
var objectWithoutPropertiesLoose = require("./objectWithoutPropertiesLoose.js");
function _objectWithoutProperties(e, t) {
if (null == e) return {};
var o,
r,
i = objectWithoutPropertiesLoose(e, t);
if (_Object$getOwnPropertySymbols) {
var n = _Object$getOwnPropertySymbols(e);
for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
}
return i;
}
module.exports = _objectWithoutProperties, module.exports.__esModule = true, module.exports["default"] = module.exports;