E0078: missing expression between parentheses
Parentheses ((
and )
) serve three purposes in JavaScript:
- grouping in expressions
- calling functions
- function parameters
It is a syntax error to write (
immediately followed by )
(with nothing
between) when grouping in expressions:
To fix this error, write an expression between the parentheses:
Alternatively, put the name of a function before the parentheses to call a function with no arguments:
Alternatively, write the rest of your arrow function:
Introduced in quick-lint-js version 0.2.0.