Tag: variables

Recent Post

What’s wrong with using ‘var’ in JavaScript?

Using 'var' to declare variables can lead to scope leakage and silent errors in your code.

All seven differences between var, let and const in JavaScript

Learn the differences between the keywords var, let and const when declaring variables.

const, let or var: Which should I use?

Learn the differences between 'const', 'let' and 'var' and when to use them.