How does a javascript closure work ?
- by e-satis
Like the old Albert said : "If you can't explain it to a six-year old, you really don't understand it yourself.”. Well I tried to explain JS closures to a 27 years old friend and completely failed.
Can anybody consider than I am 6 and strangely interested in that subject ?
EDIT : I have seen the scheme example given in SO, and it did not help.