Pergunta de entrevista da empresa NuGen IT

What is a closure in JavaScript?

Resposta da entrevista

Sigiloso

3 de nov. de 2025

A closure is when a function remembers and can access variables from its parent scope even after that parent function has finished executing.