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...DiscussJavaScript
Rafi kadirrafikadir.hashnode.dev·Jun 5, 2023💻ES6 tutorial: const in javascriptIn JavaScript, the const keyword is used to declare a constant, which is a variable that cannot be re-assigned after it is initialized. Constants are block-scoped, meaning they are only accessible within the block where they are defined. Declaration...Discuss·43 readsJavaScript