> (function(){
> // a class or something ...
> })();> What's purpose? And what is that end piece () ? That's the "define a function and run it immediately" thing. -- Sandy
> (function(){
> // a class or something ...
> })();> What's purpose? And what is that end piece () ? That's the "define a function and run it immediately" thing. -- Sandy