loading...

re: Understanding Hoisting VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Thank you for writing this. As you said, there is no one else that I've seen who talks about the different phases of the execution context, and tha...
 

Hello there,

Apologies! My bad on the incorrect output in the code section. I usually code in the editor and ensure the output is valid. But, in this case, I added console.log in the end and wanted to showcase before and after and later changed my script in the main article, but forgot to update it in the code portion of the article.

I have now updated it to reflect the correct output.

I'm surprised how this wasn't brought to my notice earlier. Kudos to you! I'm glad that folks are actually reading my articles. (even the code sections) I'll ensure that I verify the next time I post an article.

Thank you once again. I'm going to extend the concepts and also explain Closures which is another famous interview question as well as something often confused with. Hoping to publish it by end of the day. Stay tuned!

 

Thank you for taking the time to read the comment and review your article! I'll be looking forward to your next posts!

code of conduct - report abuse