title: Idiomatic `Number` object to number literal conversion in JavaScript
body: <h3><code>Number</code> function</h3>
  
  <pre><code>&gt; var x = new Number(5)
  &gt; x === 5
  false
  &gt; Number(x) === 5
  true
  </code></pre>
  
  <h3><code>valueOf</code> method</h3>
  
  <pre><code>&gt; var y = new Number(5)
  &gt; y === 5
  false
  &gt; y.valueOf() === 5
  true
  </code></pre>
  
  <hr>
  
  <p>Which is the preferred option? Are there benefits to using one over the other?</p>
  
  <p>For the record, I'm dealing with <code>this</code> within a method on <code>Number.prototype</code>, where I can be sure that <code>this</code> is always a <code>Number</code> object.</p>