title: if else statement with two condition
body: <p>This maybe trivial but I have this code</p>
  
  <pre><code>if(condition 1 &amp; condition 2){
  // apply some code
  }
  else{
  // apply other code
  }
  </code></pre>
  
  <p>my question is: When is else applied?
  Is it applied when both conditions are <code>false</code> or is it enough for one condition to be <code>false</code>?</p>