title: Can I break a try - catch in JS without throwing exception?
body: <p>I'd like to silently break a <code>try</code> - <code>catch</code> in the <code>try</code> block if a condition applies. ( Without throwing an unneccessary exception )</p>
  
  <pre><code>foo = function(){
  
      var bar = Math.random() &gt; .5;
  
      try{
  
            if( bar ) // Break this try, even though there is no exception here.
  
            //  This code should not execute if !!bar 
  
            alert( bar );
  
      }
      catch( e ){}
  
      // Code that executes if !!bar
  
      alert( true );
  
  }
  
  foo();
  </code></pre>
  
  <p>However, <code>return</code> is not an option, since the function is supposed to continue executing afterwards.</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>I'd like to still keep up the opportunity to use the <code>finally</code> block.</p>