Quod erat demonstrandum.
Learn more about ASI
If you prefer ultra-technical documentation, read the Automatic Semicolon Insertion section of the ES5 spec. It isn’t a particularly fun read, but it gets down to the nitty gritty.
And once you’ve learned all you care to know about ASI, make your own informed decision.