Files
williammarch.xyz/node_modules/@swc/helpers/esm/_new_arrow_check.js
2026-04-02 19:13:46 +01:00

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 _ };