Why shouldn’t we use var in JavaScript?

Var behaves very differently. If you have some knowledge about scoping, you would know that let and const declared variables … Continue reading Why shouldn’t we use var in JavaScript?