mehh - 6:43 pm on Mar 19, 2008 (gmt 0)
I would say that this instantiates and executes an anonymous function.
This just instigates the function, the
(window) part executes it, which is how the myLib variable gets passed. I personaly cannot see why you would need to do this, the first method works just fine.