MCPcopy Index your code
hub / github.com/ronreiter/interactive-tutorials / _inheritsLoose

Function _inheritsLoose

static/js/bootstrap.js:49–53  ·  view source on GitHub ↗
(subClass, superClass)

Source from the content-addressed store, hash-verified

47}
48
49function _inheritsLoose(subClass, superClass) {
50 subClass.prototype = Object.create(superClass.prototype);
51 subClass.prototype.constructor = subClass;
52 subClass.__proto__ = superClass;
53}
54
55/**
56 * --------------------------------------------------------------------------

Callers 1

bootstrap.jsFile · 0.85

Calls 1

createMethod · 0.45

Tested by

no test coverage detected