Pergunta de entrevista da empresa Riverbed Technology

What is a closure in javascript?

Resposta da entrevista

Sigiloso

6 de ago. de 2016

Closures are functions which have the ability to access variables in the scope they were created after the outer scope has returned.