In JavaScript, const and let create new variables. They do not modify
existing variables. It is likely a mistake if a new variable is created with the
same name as an existing variable:
To fix this error, remove the 'let' or 'const' keyword to turn the declaration
into an assignment:
Alternatively, use the variable after declaring it: