Type coersion in javascript
<p>What will be the output of the of following code:</p>

<pre><code>console.log({}.valueOf()+15);//Output:[object Object]15
</code></pre>

<p>Will the return value from the <em>.valueOf()</em> method be string in the above code or is simply an object since <em>.toString()</em> will result in same but with this method returned value will be string anyhow.I just wanted to know what will be the type of the value the <em>.valueOf()</em> returns in above code.If return value is a string ,for what other object will <em>valueOf()</em> method returns string value except for <strong>[new String("abc")]</strong></p>
