source:
trip-planner-front/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js@
8d391a1
Last change on this file since 8d391a1 was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 259 bytes |
Line | |
---|---|
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.