SSaahithinvinsmok.hashnode.dev·Sep 29, 2021 · 2 min readHoisting in JavaScriptHoisting is a JavaScript mechanism where variables and function declarations are moved to the top of their scope before code execution. In this blog, I will tell about hoisting of variables and functions in JavaScript. variable means anything that c...00
SSaahithinvinsmok.hashnode.dev·Sep 29, 2021 · 3 min readDifference between variable var, let and constIn javascipt one can define variable using var let or const. Before the introduction of ES6, JavaScript only had var to define variables. The var is the classic old way to declare variables in javascript and it can declare both local and global vari...00