5 lines
180 B
JavaScript
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 _ };
|