Grid Dynamics Interview Question

What is a closure? (javascript)