UNPKG

@babel/runtime-corejs3

Version:

babel's modular runtime helpers with core-js@3 polyfilling

15 lines 690 B
import _Object$getOwnPropertySymbols from "core-js-pure/features/object/get-own-property-symbols.js"; import _indexOfInstanceProperty from "core-js-pure/features/instance/index-of.js"; import objectWithoutPropertiesLoose from "./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 === _indexOfInstanceProperty(t).call(t, o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; } export { _objectWithoutProperties as default };