securityos/node_modules/@swc/helpers/cjs/_new_arrow_check.cjs

7 lines
218 B
JavaScript
Raw Permalink Normal View History

2024-09-06 15:32:35 +00:00
"use strict";
exports._ = exports._new_arrow_check = _new_arrow_check;
function _new_arrow_check(innerThis, boundThis) {
if (innerThis !== boundThis) throw new TypeError("Cannot instantiate an arrow function");
}