re: ES6 for beginners with example VIEW POST

VIEW PARENT COMMENT VIEW FULL DISCUSSION
 

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

code of conduct - report abuse