2022-03-20 18:59:36 +07:00

5 lines
166 B
JavaScript

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