Closure in Ruby and Javascript

Closure in Ruby and Javascript

What is closure