Apple interview question

What is hoisting in js?