it refers to variable declaration moving up to top of their scope.
The key words here are: declaration and scope Without getting too technical, declaration is when you create a variable but don’t assign any value to it.
functions are first-class citizens, they may or may not be hoisted.
If each red circle in the picture below is a balloon in a pool, we can see how they behave when it comes to hoisting.
There is more to this so more to come. ✌🏼