O'Reilly logo
  • Nivan Morgan thinks this is interesting:

return, break, and continue statements (see Chapter 5). These statements often stand alone, but they are sometimes followed by an identifier or expression. If a line break appears after any of these words (before any other tokens), JavaScript will always interpret that line break as a semicolon.


Cover of JavaScript: The Definitive Guide, 6th Edition


no parsing after return, break or continue these are end-statements. a semicolon in automatically entered by js unlike all other statements which js may still read through