Grid Dynamics interview question

What is closure in JS?