Pergunta de entrevista da empresa Constructor

What is a closure in JavaScript?