Pergunta de entrevista da empresa Appy Pie

Explain how does closure workis in javascript