I've seen some people define functions like I do:
function stuff(){ /*code here*/ }
And I've seen others do this:
(function stuff(){ /*code here*/ })();
What's the difference in having the parenthesis outline the function? Does it actually do anything?
Note: This may be a duplicate, but I didn't find the answer online since I didn't phrase it very well.