mirror of
https://git.mirrors.martin98.com/https://github.com/cyberman54/curl
synced 2025-08-23 00:09:06 +08: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);
|
|
} |