The quick answer: var has a different "scope" and it's normally better to use const and let const is for variables that will not be updated var is for variables that will be updated Var Before const and let the only way to declare a variable was wi...

Markdown supported · ⌘↵ to post
No responses yet.