What is the difference between var, let, and const in JavaScript?
In ES6, we use var, let and const for variable declaration.
var name;let email;const age = “”;
In this article, we’ll try to identify the differences between var, let and const.
Var
The scope of a var variable is global which means the variables tha...
oshini.hashnode.dev3 min read