What is the difference between new Date() and Date() when used as variable? : <p>For eg-</p>

<pre><code>&lt;body&gt;
&lt;p id="demo"&gt;&lt;/p&gt;
&lt;script&gt;
var x = new Date();
document.getElementById("demo").innerHTML=x;
&lt;/script&gt;
&lt;/body&gt;
</code></pre>

<p>And,</p>

<pre><code>&lt;body&gt;
&lt;p id="demo"&gt;&lt;/p&gt;
&lt;script&gt;
var x = Date();
document.getElementById("demo").innerHTML=x;
&lt;/script&gt;
&lt;/body&gt;
</code></pre>

<p>The result is same.But what it means when we use 'new'?</p>
