summaryrefslogtreecommitdiff
path: root/school/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js
blob: 90bb796576136241daf0141505a34ab96100ed90 (plain)
1
2
3
4
5
6
import setPrototypeOf from "./setPrototypeOf.js";
export default function _inheritsLoose(subClass, superClass) {
  subClass.prototype = Object.create(superClass.prototype);
  subClass.prototype.constructor = subClass;
  setPrototypeOf(subClass, superClass);
}