2024-01-29 09:26:07 +08:00

5 lines
166 B
JavaScript

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