MCPcopy
hub / github.com/adobe/react-spectrum / merge

Function merge

packages/dev/parcel-packager-docs/DocsPackager.js:511–517  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

509}
510
511function merge(a, b) {
512 for (let key in b) {
513 if (!Object.prototype.hasOwnProperty.call(a, key)) {
514 a[key] = b[key];
515 }
516 }
517}
518
519function omit(obj, toOmit, nodes) {
520 obj = resolveValue(obj, nodes);

Callers 1

mergeInterfaceFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected