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