DEV Community

Cover image for JavaScript Hoisting

JavaScript Hoisting

Patricia Nicole Opetina on July 27, 2021

[JS#5 WIL 🤔 Post] JavaScript hoisting refers to the process where the compiler allocates memory for variable and function declarations p...
Collapse
 
dominiccronin profile image
Dominic Cronin •

Great to see this article. It's an area that confuses a lot of people, and it's not too hard once you know about it.

I found it a bit distracting that you keep referring to the compiler instead of the interpreter. It's not a big thing, but it got in the way of my being able to just follow the flow of your article.

Collapse
 
grajghimire profile image
Ghimire Gaurav Raj •

I clicked on this thinking Hosting.. 🤣

Collapse
 
petertorres profile image
Pete Torres •

Great article!

Collapse
 
umavijay172 profile image
umamaheshwari v •

Hii please provide articles of angular for beginners.
Thanku

Collapse
 
hmarat profile image
hmarat •

Thank you. Amazing post :)

Collapse
 
pat_the99 profile image
Patricia Nicole Opetina •

Thank you, I am happy to hear that 🙂

Collapse
 
vcfvct profile image
leon •

Nice material for refreshing the memory of hoisting 🙂

Collapse
 
ben profile image
Ben Halpern •

Nice post

Collapse
 
ifierygod profile image
Goran Kortjie •

Thank you for sharing

Collapse
 
aidenybai profile image
Aiden Bai •

Nice! Really well written article and I enjoyed the illustrations a lot. Good to see that you're learning and sharing with others

Collapse
 
amt8u profile image
amt8u •

Good article about hoisting. Almost covered all aspects. But I do have one question. Why hositing exists? Whats the purpose of having it in javascript?

Collapse
 
gravy17 profile image
Tofi Agbaje •

Direct and Expressive, Beautifully written- great read!

Collapse
 
darkcode01 profile image
Jose M. Segura Polanco •

good post!