2025-02-28 19:43:11 +08:00

5 lines
166 B
JavaScript

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