Why to avoid var and use let or const in JavaScript
Var and use let or const in JavaScript In this Blog, We will learn about Var, Let, and Const and their related terminology. How are they used in block and function scope And why avoid using Var and use let or Const? In current JavaScript, it’s generally advocated to avoid var, and as an alternative, …
Why to avoid var and use let or const in JavaScript Read More »