MCPcopy Create free account
hub / github.com/microsoft/SandDance / _objectWithoutProperties

Function _objectWithoutProperties

docs/app/js/sanddance-app.js:95737–95751  ·  view source on GitHub ↗
(source, excluded)

Source from the content-addressed store, hash-verified

95735var _objectWithoutPropertiesLooseJs = require("./objectWithoutPropertiesLoose.js");
95736var _objectWithoutPropertiesLooseJsDefault = parcelHelpers.interopDefault(_objectWithoutPropertiesLooseJs);
95737function _objectWithoutProperties(source, excluded) {
95738 if (source == null) return {};
95739 var target = (0, _objectWithoutPropertiesLooseJsDefault.default)(source, excluded);
95740 var key, i;
95741 if (Object.getOwnPropertySymbols) {
95742 var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
95743 for(i = 0; i < sourceSymbolKeys.length; i++){
95744 key = sourceSymbolKeys[i];
95745 if (excluded.indexOf(key) >= 0) continue;
95746 if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
95747 target[key] = source[key];
95748 }
95749 }
95750 return target;
95751}
95752exports.default = _objectWithoutProperties;
95753
95754},{"./objectWithoutPropertiesLoose.js":"fbCls","@parcel/transformer-js/src/esmodule-helpers.js":"jA2du"}],"fbCls":[function(require,module,exports) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected