What's the difference between:
(function() {
console.log('Hello :)');
})();
e:
(function() {
console.log('Hello :)');
}());
? The two code snippets do the same thing, so I was left wondering if there is any difference other than writing or if they are just different ways of doing the same thing, without performance implications and etc ...