Is there any difference between creating an 'anonymous' namespace and then creating one with a throwaway name, or are these both the same for all intents and purposes?
(function(){
console.log('namespace1');
}());
(function _(){
console.log("namespace2");
})()
Note: duplicate mentions what an immediately invoked function is. I'm asking about if there's a difference between immediately invoked function and function-expression.