EsLint pull this error:
error Parsing error: Unexpected token (
from this line of code:
let fn = () => {
//stuffs...
}(); //<---- THIS
The code obviously works well, so what is the issue?
EsLint pull this error:
error Parsing error: Unexpected token (
from this line of code:
let fn = () => {
//stuffs...
}(); //<---- THIS
The code obviously works well, so what is the issue?