mirror of
https://github.com/swc-project/swc.git
synced 2024-12-20 12:12:16 +03:00
5 lines
187 B
JavaScript
5 lines
187 B
JavaScript
|
export function _new_arrow_check(innerThis, boundThis) {
|
||
|
if (innerThis !== boundThis) throw new TypeError("Cannot instantiate an arrow function");
|
||
|
}
|
||
|
export { _new_arrow_check as _ };
|