MCPcopy Create free account
hub / github.com/share/sharedb / shallowCopy

Function shallowCopy

lib/agent.js:996–1004  ·  view source on GitHub ↗
(object)

Source from the content-addressed store, hash-verified

994}
995
996function shallowCopy(object) {
997 var out = {};
998 for (var key in object) {
999 if (util.hasOwn(object, key)) {
1000 out[key] = object[key];
1001 }
1002 }
1003 return out;
1004}
1005
1006function CreateOp(src, seq, v, create, x, c, d, m) {
1007 this.src = src;

Callers 1

agent.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…