title: Why 'y' shows two different values in the below alert cases?
body: <p>Consider the below code:</p>
  
  <pre><code>var y = 4;
  alert( y&gt;1 || (y++ ===4)) 
  alert(y);
  </code></pre>
  
  <p>Here, 'y' alerts 4.
  But in the below code:</p>
  
  <pre><code>var y = 4;
  alert( y&gt;1 &amp;&amp; (y++ ===4)) 
  alert(y);
  </code></pre>
  
  <p>Here, 'y' alerts 5. 
  Why &amp;&amp; and || operators are showing two different values of 'y'?</p>