Hoisting is a term you come across from time to time as a JavaScript developer. Do you know what hoisting is and how it works? Well, let us find ou...
For further actions, you may consider blocking this person and/or reporting abuse
Nicely explained, have bookmarked for future reference.
Thank you
'Note that this does not physically happen.' - THANK YOU! Its refreshing to read a tut on hoisting that explains that the code isnt actually being lifted around the function as so many others do.
Good write up.
Thank you for your kind words.
Useful write up :) The spec has become a lot more reader friendly in recent years too, might be worth a reference tc39.github.io/ecma262/#sec-identi...
Thanks for sharing the link.
why javascript perform hoisting?
As in some cases, we mistakenly define variables or function declarations that are unused throughout the code but due to hoisting it will take all variable and function declarations to memory along with unused variables and function declarations thus slowing the speed of execution.
Great write up, really enjoyed.
In other words, what you see is not what you get
Love the way you explain concepts.
Simplicity is the key in your blogs.👏
Expecting more on JS and Frontend related concepts.
Thank you! :)
Very simple explanation. .thanks @sarah_chima