Domanda di colloquio di Xorance

What is a “closure” in JavaScript? Provide an example.