what is difference between var, let & const?
Imagine you're building a Lego city. You'll need different types of bricks to construct different buildings. Similarly, in JavaScript, you need different types of variables to store different kinds of information.
var - The Old-School Brick
Think of ...
prasad.com2 min read