GoScrobble/web/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js

6 lines
259 B
JavaScript
Raw Permalink Normal View History

2022-04-25 02:47:15 +00:00
import setPrototypeOf from "./setPrototypeOf.js";
export default function _inheritsLoose(subClass, superClass) {
subClass.prototype = Object.create(superClass.prototype);
subClass.prototype.constructor = subClass;
setPrototypeOf(subClass, superClass);
}