Question d’entretien chez Extramarks

Explain about javascript hoisting with example?