MCPcopy Index your code
hub / github.com/csev/py4e / copyObj

Function copyObj

tools/pythonauto/static/codemirrorepl/codemirror.js:6984–6990  ·  view source on GitHub ↗
(obj, target, overwrite)

Source from the content-addressed store, hash-verified

6982 };
6983
6984 function copyObj(obj, target, overwrite) {
6985 if (!target) target = {};
6986 for (var prop in obj)
6987 if (obj.hasOwnProperty(prop) && (overwrite !== false || !target.hasOwnProperty(prop)))
6988 target[prop] = obj[prop];
6989 return target;
6990 }
6991
6992 function bind(f) {
6993 var args = Array.prototype.slice.call(arguments, 1);

Callers 5

CodeMirrorFunction · 0.70
codemirror.jsFile · 0.70
markTextFunction · 0.70
markTextSharedFunction · 0.70
createObjFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected