Assume you are talking with a friend and they ask you about something that you know nothing about. Your response would be "I do not know about that". In the same way, during execution, our program needs to know about the variables we refer to or else...

Markdown supported Β· ββ΅ to post
Good evening sir I am grateful for the article but do mind if I may ask according to statement that variables created with the var key word are not listed among the ECMAScript specifications as hoist-able declaration (please donβt mind if I paraphrase), what then are the listed key words in ECMAScript that are hoist-able
Thanks for taking the time to explain these concepts, but there is something I didn't get correctly.
You disagreed with the idea that variables created with the let and const keywords are not hoisted, and the reason you gave was that the memory (Script VO) is aware of variables created with the let and const keywords.
If I may ask, does it mean hoisting also occurs even when you do not get to access variables created with the let keyword?
Tadeyon Oke
Pretty insightful for anyone learning for the first time. Thanks for sharing