mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 19:21:33 +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 _ };
|