main
Last change
on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
259 bytes
|
Rev | Line | |
---|
[d24f17c] | 1 | import setPrototypeOf from "./setPrototypeOf.js";
|
---|
| 2 | export default function _inheritsLoose(subClass, superClass) {
|
---|
| 3 | subClass.prototype = Object.create(superClass.prototype);
|
---|
| 4 | subClass.prototype.constructor = subClass;
|
---|
| 5 | setPrototypeOf(subClass, superClass);
|
---|
| 6 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.