enexion interview question

What is hoisting in javascript?