Pregunta de entrevista de Microsoft

what are closures in javascript?

Respuesta de la entrevista

Anónimo

13 ene 2025

closures are the functions which remember or have access of variables of its surrounding/parent function, even if the surrounding functions has finished running.