hexo/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js

6 lines
264 B
JavaScript
Raw Normal View History

2023-10-03 11:14:36 +08: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);
2023-09-25 15:58:56 +08:00
}