title: Javascript declaring number in different ways?
body: <pre><code>var a = 1;
  var b = Number(1);
  var c = new Number(1);
  </code></pre>
  
  <p>I was wondering what is the difference between these three statements.
  I understand that first and second statements are same, as <code>if(a===b)</code> gives <code>true</code>, but the <strong>third one will create a object</strong> of type number.</p>
  
  <p>What I want to know is how these methods are different, and any advantages one will give over the other?</p>