Profinit interview question

Closures in JavaScript and how do they work