PayPal interview question

explain closures in JS and can you give an example?