0

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

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

and

(function () {
  alert('hi');
})();
scunliffe
  • 60,441
  • 24
  • 124
  • 159

0 Answers0