Closures: Functions That Remember

A closure is a function together with the variables it could see where it was made, so it keeps using them after the function that made them has finished.

Updated

Cheat sheet: Closures: Functions That Remember
Category
JavaScript
Level
Journeyman
Tags
Closure (javascript), Garbage Collection (javascript), Higher-Order Function (javascript), JavaScript, Lexical Scope