Xorance interview question

What is a “closure” in JavaScript? Provide an example.