Question d’entretien chez Alif

Explain the concept of closures in JavaScript. Provide an example.