0

Are these two functions below same ? (See the parenthesis at the end)

(function () {
  alert('hi');
}());

and

(function () {
  alert('hi');
})();
scunliffe
  • 62,582
  • 25
  • 126
  • 161

0 Answers0