Introduction When you start learning a new language, the first thing you need to learn is how to declare a variable and store values in them along with data types and basic operations. In this blog, all of these topics will be covered. Variable Decla...

Markdown supported · ⌘↵ to post
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!