In a given function or {} block, a variable can only be declared multiple
times if it is declared with var or function. Other types of variables can
be declared only once:
To fix this error, assign to the existing variable, choose a different variable
name, or delete the extra variable: