Squaremoat interview question

what is closure in javascript?

Interview Answer

Anonymous

May 24, 2023

function defined in the closure ‘remembers’ the environment in which it was created.