This error indicates that you are attempting to mutate a variable in an inappropriate place.
Variable mutation is only allowed to occur on variables declared via
var and immediately
continue statement of a loop.
For example, the code below attempts to mutate a loop variable improperly:
You can fix this issue by moving the mutation directly before the