Xorance Interview Question

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