Custom Ink interview question

What’s a closure in JavaScript