Because let will never throw an error and is seen as the successor of var, while const is more restrictive.
You are right though, as long as you write ES6 always use const unless you see you explicitly need to change the variable reference, like for counters and booleans
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Because
letwill never throw an error and is seen as the successor ofvar, whileconstis more restrictive.You are right though, as long as you write ES6 always use
constunless you see you explicitly need to change the variable reference, like for counters and booleans