MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / extend

Function extend

lib/web/tern/infer.js:52–56  ·  view source on GitHub ↗
(proto, props)

Source from the content-addressed store, hash-verified

50 });
51
52 function extend(proto, props) {
53 var obj = Object.create(proto);
54 if (props) for (var prop in props) obj[prop] = props[prop];
55 return obj;
56 }
57
58 // ABSTRACT VALUES
59

Callers 1

infer.jsFile · 0.70

Calls 1

createMethod · 0.45

Tested by

no test coverage detected