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...
johnpalmgren.hashnode.dev2 min read
No responses yet.