JS JavaScript: Hoisting
JavaScript hoisting is basically that declarations are moved to the top of your code.
Actually your function and variable declarations are added to memory during the compile phase.
And they stay exactly where you typed them in your code.