2
What’s the difference between:
(function() {
console.log('Hello :)');
})();
and:
(function() {
console.log('Hello :)');
}());
? The two snippets of code do the same thing, so I was wondering if there’s any difference beyond writing or if they’re just different ways of doing the same thing, no performance implications and so on...
(In syntax they are different things.)
– Klaider