E0075: indexing requires an expression
The syntax for indexing is expr1[expr2]
. It is an error to omit the expression
between [
and ]
:
To fix this error, write an expression between [
and ]
:
Alternatively, to copy an array, create a new array and spread the old array
into the new array:
Introduced in quick-lint-js version 0.2.0.
Documentation for other errors