Whatfix Interview Question

What is hoisting in javascript