Elastic interview question

What is hoisting in javascript