This question already has answers here:
Closed 5 years ago.
Look at the placement of the parenthesis, is that any different?
( func )( )
(function(){
})();
and ( func( ) )
(function(){
}());