4 Reasons Why ‘var’ is Considered Obsolete in Modern JavaScript
The pitfalls of using “var” and the differences between “var” and “let”.
Published in
2 min readJul 14, 2021
JavaScript is a powerful language because you can write an entire software without adopting any other programming language at all.
var
used to be a way to declare variables in JavaScript. However, declaring a…