Why are Javascript bookmarklets wrapped in closures?
I wouldn’t think someone would put an unnamed function in there for no reason.
I have read quite a few explanations on closures, but I still don’t feel that i’ve grasped the whole concept.
Thanks guys!
To not contaminate the global scope by executing a function after creation.