> I'm strongly biased towards not doing it at all. You have to force the function to be an expression somehow, you can't just "not do it at all" or else you'll get a parse error.
function (){}() // error
!function (){}() // IIFE
> I'm strongly biased towards not doing it at all. You have to force the function to be an expression somehow, you can't just "not do it at all" or else you'll get a parse error.
function (){}() // error
!function (){}() // IIFE