Lightspeed Interview Question

What is hoisting in JS?