Pergunta de entrevista da empresa Microsoft

what are closures in javascript?

Resposta da entrevista

Sigiloso

13 de jan. de 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.