mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 03:01:48 +03:00
7 lines
223 B
JavaScript
7 lines
223 B
JavaScript
|
export function _assert_this_initialized(self) {
|
||
|
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
||
|
|
||
|
return self;
|
||
|
}
|
||
|
export { _assert_this_initialized as _ };
|