Globant Interview Question

Hoisting in JavaScript and how it works