Pergunta de entrevista da empresa iTech India

What is a closure in JS?

Resposta da entrevista

Sigiloso

14 de jul. de 2022

A variable used in a function that is not defined in the functions block or in argument is a closure.