Frage im Vorstellungsgespräch bei Intel Corporation

In JavaScript, what is the purpose of a closure?