title: JavaScript truthiness in boolean to numbers comparison
body: <p>I'm new to JavaScript and I'm trying to learn it from internet resources. While I'm aware that there will plenty of cr*p material, one thing most people seemed to agree is the truthiness of things in JS (just to give a example go <a href="http://11heavens.com/falsy-and-truthy-in-javascript" rel="nofollow">here</a>)</p>
  
  <p>Now I found this odd thing in my experiments:</p>
  
  <p><code>(true == 2)</code> is <code>false</code>. why?</p>
  
  <p>As far as I know, <code>2</code> is a non zero <em>number</em>, so it should be evaluated as <code>true</code>.</p>