difference between object and Object in JavaScript
<p>In the below code :-</p>

<pre><code> var x = { } ;
    console.log(typeof x);             // o/p is object
    console.log(x instanceof Object ); //o/p is true
</code></pre>

<p>If I use "<strong>object</strong>" instead of "<strong>Object</strong>" in the last line I get an error.Why is that so when the o/p of second line is <strong>object</strong> with a lowercase "o"?</p>
