mirror of
https://github.com/swc-project/swc.git
synced 2024-12-02 12:05:54 +03:00
7 lines
237 B
JavaScript
7 lines
237 B
JavaScript
export function _inherits_loose(subClass, superClass) {
|
|
subClass.prototype = Object.create(superClass.prototype);
|
|
subClass.prototype.constructor = subClass;
|
|
subClass.__proto__ = superClass;
|
|
}
|
|
export { _inherits_loose as _ };
|