linwenling
2023-08-09 45b0c23655abe2b1f82e3e5ca7d07d9f0c4cc6e1
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);
}