Pergunta de entrevista da empresa NewRedo

What is a closure in JavaScript?