NeahNew/node_modules/@swc/helpers/esm/_new_arrow_check.js
2025-05-03 14:17:46 +02:00

5 lines
180 B
JavaScript

function _new_arrow_check(innerThis, boundThis) {
if (innerThis !== boundThis) throw new TypeError("Cannot instantiate an arrow function");
}
export { _new_arrow_check as _ };