Introduction This article discusses the reasons to avoid using the 'var' keyword for variable declaration in JavaScript. It highlights the issues related to function-scoping, variable hoisting, and redeclaration without warnings that come with 'var'...

Markdown supported · ⌘↵ to post
Florian Fuchs
Fullstack Engineer @ Hashnode
Nice article