mirror of
https://github.com/JasonYANG170/IOTConnect-Web.git
synced 2024-11-24 04:36:31 +00:00
6 lines
259 B
JavaScript
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);
|
|
} |