Kirti Singhkirti-singh.hashnode.dev·Apr 7, 2024Understanding JavaScript Variable Declarations: The Journey from var to let and constIntroduction In the world of JavaScript, variable declarations play a crucial role in shaping the behavior and structure of code. The introduction of keywords like let, var, and const has revolutionised how developers manage variables within their pr...JavaScript
Rafi kadirrafikadir.hashnode.dev·Jun 2, 2023💻ES6 tutorial: let in javascriptIn ES5, we used to declare a variable using var. ES6 provides a new way of declaring a variable by using the let keyword. But there are some differences between let and var. Let’s understand some concepts related to let. Block Scope: Variables declar...91 readsJavaScript