MCPcopy Create free account
hub / github.com/microsoft/SandDance / extend

Function extend

docs/app/js/sanddance-app.js:2514–2518  ·  view source on GitHub ↗
(parent, definition)

Source from the content-addressed store, hash-verified

2512 prototype.constructor = constructor;
2513};
2514function extend(parent, definition) {
2515 var prototype = Object.create(parent.prototype);
2516 for(var key in definition)prototype[key] = definition[key];
2517 return prototype;
2518}
2519
2520},{"@parcel/transformer-js/src/esmodule-helpers.js":"jA2du"}],"h8MxI":[function(require,module,exports) {
2521var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js");

Callers 2

sanddance-app.jsFile · 0.70
inheritsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected