Domanda di colloquio di Microsoft

what are closures in javascript?

Risposta di colloquio

Anonimo

13 gen 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.