title: what happens to unhandled exceptions in a website's javascript?
body: <p>I recently had an exception occurring that I didn't notice till I looked at chrome dev tools console.</p>
  
  <p>Does a website's javascript just handle and log exceptions at a higher level somewhere? I didn't handle the exception in function1 below, so the later functions were just not being run or something.</p>
  
  <p>what exactly happens when an exception happens? I'm used to an unhandled exception meaning the program just stops</p>
  
  <pre><code>containingFunction
  {
     function1();
     function2()
     function3()
     return;
  }
  </code></pre>