Reasons to drop var in javascript;
Javascript language has immensely evolved in the last couple of years where a lot of new features were introduced in the last versions beginning with es6. One of these areas that have improved to the better is the declaration of variables and keyword...
cyruscodes.hashnode.dev6 min read
Bhargav Ponnapalli
Hashnoder | Frontend Developer | Youtuber
Good one CyrusCodes!
Var is definitely the more problematic way of declaring variables in JS.