title: Does a javascript if statement with multiple conditions test all of them?
body: <p>In javascript, when using an if statement with  multiple conditions to test for, does javascript test them all regardless, or will it bail before testing them all if it's already false?</p>
  
  <p>For example:</p>
  
  <pre><code> a = 1
   b = 2
   c = 1
  
   if (a==1 &amp;&amp; b==1 &amp;&amp; c==1)
  </code></pre>
  
  <p>Will javascript test for all 3 of those conditions or, after seeing that b does not equal 1, and is therefore false, will it exit the statement?</p>
  
  <p>I ask from a performance standpoint. If, for instance, I'm testing 3 complex jQuery selectors I'd rather not have jQuery traverse the DOM 3 times if it's obvious via the first one that it's going to return FALSE. (In which case it'd make more sense to nest 3 if statements). </p>
  
  <p>ADDENDUM: More of a curiosity, what is the proper term for this? I notice that many of you use the term 'short circuit'. Also, do some languages do this and others dont?</p>