2021-02-11 21:31:41 +08:00

5 lines
166 B
JavaScript

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