title: why no parseInt for if statements
body: <pre><code>var a = $('.box').width();
  
  var b = $(document).height();
  </code></pre>
  
  <p>Now, let's say 124px, is an <code>int</code> or <code>string</code> ?</p>
  
  <p>So far I have done this through trial and error, but now I'm curious to understand why <code>if (b &lt; 20)</code>, however <code>parseInt</code> is needed to calculate <code>var c = a + b</code>. why is that?</p>