123FormBuilder interview question

What is hoisting in javascript?