Antonio Novak• 480
@Nova988
Posted
Hello,
In 2022 you should try to avoid using var. Instead of var use let and const.
Here you can read why you shouldn't use it : https://medium.com/@codingsam/awesome-javascript-no-more-var-working-title-999428999994.
Hope it helps.
0