Hey, I am Shalini Muskula, an undergrad student learning Web Development. I recently started contributing to Open Source. I will be focusing on Web development and DSA in my blogs.
Slight correction : let and const declarations are also hoisted EXCEPT that they do not have a default initial value(like undefined in case of var, and that only the variable can be accessed before declaring it and not its value, which results in the Reference Error. Amazing blog otherwise!
Neutron
Slight correction :
letandconstdeclarations are also hoisted EXCEPT that they do not have a default initial value(likeundefinedin case of var, and that only the variable can be accessed before declaring it and not its value, which results in the Reference Error. Amazing blog otherwise!