Files
supplier-dispatch-h5/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js
2023-08-11 10:45:20 +08: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);
}