line_push/node_modules/@babel/runtime/helpers/newArrowCheck.js
2022-07-17 13:16:16 +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;