title: JS log object why is showing [object Object]
body: <p>In JS, if I log a string to the console it is not showing properly ?</p>
  
  <pre><code>console.log(uniqueProducts); //
  console.log("uniqueProducts:"+uniqueProducts);
  </code></pre>
  
  <p>result</p>
  
  <pre><code>[ { country: 'Russia', launches: 32 },
    { country: 'US', launches: 23 },
    { country: 'China', launches: 16 } ]
  uniqueProducts:[object Object],[object Object],[object Object]
  map
  </code></pre>
  
  <p>So why is [object Object] shown instead of the value? It is like it changes type with string appended?</p>