Microsoft Interview Question

what are closures in javascript?

Interview Answer

Anonymous

Jan 13, 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.