2021-01-04 18:02:13 +08:00

7 lines
185 B
JavaScript

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