What is the difference between var, let, and const in JavaScript?
Apr 15, 2023 · 3 min read · In ES6, we use var, let and const for variable declaration. var name;let email;const age = “”; In this article, we’ll try to identify the differences between var, let and const. Var The scope of a var variable is global which means the variables tha...
Join discussion