J.P. Morgan interview question

What is a closure in javascript?