javascript: plus symbol before variable
<p>this really sounds like a simple question but I had no luck searching. what does the <code>+d</code> in </p>

<pre><code>function addMonths(d, n, keepTime) { 
    if (+d) {
</code></pre>

<p>means?</p>
