Pregunta de entrevista de Altair Engineering

What is a closure in Javascript?