O'Reilly logo
  • Ahmed Elgendy thinks this is interesting:

Returning a function from a function isn’t the only way to create a closure. You create a closure whenever you have a reference to a function that has free variables, and that function is executed outside of the context in which it was created.


Cover of Head First JavaScript Programming


Again, how to create a closure?