Pergunta de entrevista da empresa Major League Baseball (MLB)

Explain the use case and understanding of closures in javascript