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

Function copyObj

tools/pythonauto/static/codemirror/codemirror.js:5633–5637  ·  view source on GitHub ↗
(obj, target)

Source from the content-addressed store, hash-verified

5631 }
5632
5633 function copyObj(obj, target) {
5634 if (!target) target = {};
5635 for (var prop in obj) if (obj.hasOwnProperty(prop)) target[prop] = obj[prop];
5636 return target;
5637 }
5638
5639 function emptyArray(size) {
5640 for (var a = [], i = 0; i < size; ++i) a.push(undefined);

Callers 4

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

Calls

no outgoing calls

Tested by

no test coverage detected