‘let’ is same as ‘var’ but the ‘let’ allows you to declare or initialize variable within the blocks and you can have same name variables also, that have there own life in local scopes.
Whereas ‘var’ has a global scope.
#100DaysOfCode#javascript#programminglessons