There are mainly 4 major differences between var & let.
var is scoped to the nearest function block while let is scoped to the nearest enclosing block.var allows redeclaration of a variable in the same block while let doesn't.let or const are not hoisted.let are not added as property on the global window object.