What is a closure in JavaScript, and how does it work?

What is a closure in JavaScript, and how does it work?

a week ago
Anonymous $genLyrxdTY