5 lines
No EOL
166 B
JavaScript
5 lines
No EOL
166 B
JavaScript
export default function _newArrowCheck(innerThis, boundThis) {
|
|
if (innerThis !== boundThis) {
|
|
throw new TypeError("Cannot instantiate an arrow function");
|
|
}
|
|
} |