Pergunta de entrevista da empresa VLink

What is closer in javascript why use closer?