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:
329 bytes
|
Line | |
---|
1 | import _Object$create from "core-js-pure/features/object/create.js";
|
---|
2 | import setPrototypeOf from "./setPrototypeOf.js";
|
---|
3 | export default function _inheritsLoose(subClass, superClass) {
|
---|
4 | subClass.prototype = _Object$create(superClass.prototype);
|
---|
5 | subClass.prototype.constructor = subClass;
|
---|
6 | setPrototypeOf(subClass, superClass);
|
---|
7 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.