Pregunta de entrevista de Cavista Technology

Explain what Closure is in JavaScript?

Respuesta de la entrevista

Anónimo

11 de sept de 2021

Closure means that an inner function always has access to the vars and parameters of its outer function, even after the outer function has returned.