title: Does JavaScript have non-shortcircuiting boolean operators?
body: <p>In JavaScript</p>
  
  <pre><code>(f1() || f2())
  </code></pre>
  
  <p>won't execute <code>f2</code> if <code>f1</code> returns <code>true</code> which is usually a good thing except for when it isn't. Is there a version of <code>||</code> that doesn't short circuit?</p>
  
  <p>Something like</p>
  
  <pre><code>var or = function(f, g){var a = f(); var b = g(); return a||b;}
  </code></pre>