E0082: assigning to 'async' in a for-of loop requires parentheses
If a variable is named async
, it is a syntax error to assign to that variable
in a for
-of
loop:
To fix this error, declare the variable inside the for
-of
loop:
Alternatively, rename the variable to something other than async
:
Introduced in quick-lint-js version 0.2.0.
Documentation for other errors