Apple Interview Question

What is hoisting in js?