Sorry about my poor English.
But I have a question about this statement (function(){}()).
I think this statement is wrong and It must be fixed to (function(){})().
But (function(){}()) is working well.
I want to know what is different with both statement or detail grammatical explanation on (function(){}()).
Thank you.