IIFE (Immediately Invoked Function Expression)

What happens if you omit the semicolon before an IIFE in certain situations?
var a = 5
(function() {
  console.log(a);
})();
Next Question (15/25)