A closure is basically when an inner function has access to variables outside of its scope.
3 JavaScript questions to watch out for during coding interviews
Daniel Borowski
3.5K31

A very succinct and accurate description; not many people are capable of describing closures this well.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.