Pregunta de entrevista de Mindera

Explain Hoisting in javascript and what's its benefit.