Coding with J.S.
Category – Lifehacks
1 post tagged with "Lifehacks" (See all categories)

TThe only time I use var

2019-07-266 Min Read — In Lifehacks

Var is obsoleteFirst thing first. Of the three ways to declare a variable in JavaScript, var has no place in your codebase, and most of the time that you are tempted to use let, there's a better way to write it with const. There are several articles…