Guillermo Rauch has a good write up on anonymous functions here: http://devthought.com/blog/client-side/2009/03/dont-repeat-your-moo/
On Oct 10, 10:47 pm, Ryan Florence <[email protected]> wrote: > As I look through a lot of mootols source and other's classes I often > see this kind of thing: > > (function(){ > // a class or something ... > > })(); > > What's purpose? And what is that end piece () ?
