title: Why does 1 && 2 return 2?
body: <p>Why does the expression <code>1 &amp;&amp; 2</code> evaluate as 2? </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>console.log("1 &amp;&amp; 2 = " + (1 &amp;&amp; 2));</code></pre>
  </div>
  </div>
  </p>