#hoisting
Read more stories on Hashnode
Articles with this tag
When a code block is executed in JavaScript, JavaScript scan all the variables inside the current scope and moves it to the top of the scope. This is...