Akamai interview question

Explain what a closure is in JavaScript