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