Grid Dynamics Interview Question

What is a closure? Examples.