Question d’entretien chez Ciena

Why hoisting we need in javascript?