title: While loop multiple conditions don't check both conditions
body: <pre><code>var x = 0;
  var y = 0;
  
  while (x &lt; 10 &amp;&amp; y &lt; 20){
    x += 1;
    y += 1;
    console.log('This is x: ', x)
    console.log('This is y: ', y)
  }
  </code></pre>
  
  <p>I don't think I understand how multiple conditions in loops work. What I expect that code to do is to continue to loop until x greater than 10 and y is greater than 20 however the loop stops once x is greater than 10. I thought the &amp;&amp; means both conditions have to be met.</p>