Question d’entretien chez Ciena

why we need scopes in javascript?