Understanding the difference between let, var char and const in JavaScript
Understanding the difference between let, var char and const in JavaScript
Let us begin with understanding var . It is the oldest way to declare variables in JavaScript
Scope of var:
var variables are globally as well as function/locally scoped .It m...
shivamsharma.hashnode.dev3 min read