Difference between let and var in Javascript
Published in
3 min readJan 12, 2018
There has been a lot of confusion about the use of let and var in Javascript. So here is the difference where you would be now easily to decide what to use where and when.
Description
let gives you the privilege to declare variables that are limited in scope to the block, statement of expression unlike var.