The difference between var, const and let are:
1) const can be assign only once and it needs to assign when we declare a variable
2) let and var can be reassign as much as we can within the whole scope.
3) let cannot be redeclare again whereas in var we can redeclare same variable as much we want.
4) let is visible only within a block whereas var is visible within a scope
4) In var we can do hoisting whereas in let we cannot do hoisting