MCPcopy Create free account
hub / github.com/sql-js/sql.js / copyObj

Function copyObj

GUI/codemirror/lib/codemirror.js:7042–7048  ·  view source on GitHub ↗
(obj, target, overwrite)

Source from the content-addressed store, hash-verified

7040 };
7041
7042 function copyObj(obj, target, overwrite) {
7043 if (!target) target = {};
7044 for (var prop in obj)
7045 if (obj.hasOwnProperty(prop) && (overwrite !== false || !target.hasOwnProperty(prop)))
7046 target[prop] = obj[prop];
7047 return target;
7048 }
7049
7050 function bind(f) {
7051 var args = Array.prototype.slice.call(arguments, 1);

Callers 5

CodeMirrorFunction · 0.85
codemirror.jsFile · 0.85
markTextFunction · 0.85
markTextSharedFunction · 0.85
createObjFunction · 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…