With the new keyword let
for declaration of variables in javascript ES6, I can no longer think of good reasons to use var
. So far, I have been doing just that and I do not see any disadvantage of using let
ALL THE TIME.
What are good reasons to use var
today? Is it a good practice to use let
all the time today?