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

Function createObj

tools/pythonauto/static/codemirror/codemirror.js:5625–5631  ·  view source on GitHub ↗
(base, props)

Source from the content-addressed store, hash-verified

5623 }
5624
5625 function createObj(base, props) {
5626 function Obj() {}
5627 Obj.prototype = base;
5628 var inst = new Obj();
5629 if (props) copyObj(props, inst);
5630 return inst;
5631 }
5632
5633 function copyObj(obj, target) {
5634 if (!target) target = {};

Callers 1

codemirror.jsFile · 0.70

Calls 1

copyObjFunction · 0.70

Tested by

no test coverage detected