Card 1 of 4
Question

What is closure in JavaScript?

Click to flip
Answer

A closure is a function bundled with references to its surrounding lexical environment.

Click to flip