All You Need to Know about var, let, & const
Before 2015, using the var keyword was the only way to declare a JavaScript variable.
The 2015 version of JavaScript (ES6) allows the const keyword to define a variable that cannot be reassigned, and the let keyword defines a variable with restricted...
minhajul.hashnode.dev4 min read
Saurabh Mhatre
Frontend Developer
Great article. Keep it up👍🏽