Pregunta de entrevista de Dayforce

What is a closure in JavaScript?