parcoursup/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js
lalBi94 7bc56c09b5 $
2023-03-05 13:23:23 +01:00

6 lines
259 B
JavaScript

import setPrototypeOf from "./setPrototypeOf.js";
export default function _inheritsLoose(subClass, superClass) {
subClass.prototype = Object.create(superClass.prototype);
subClass.prototype.constructor = subClass;
setPrototypeOf(subClass, superClass);
}