Grid Dynamics interview question

What is a closure? (javascript)