Grid Dynamics Interview Question

What is closure in JS?