Comment Comment by Sheepshow In your example, X is still in scope when f('x') is called. It doesn't require closure to work. parent Sheepshow 12 years ago