title: Strange behaviour with JavaScript objects
body: <p>This is a strange thing I have noticed, I don't remember it ever being a problem in the past.</p>
  
  <p>Within Google Chrome (47.0.2526.106 m) objects seem to not be passed to other variables as they should. So below is a snippet of code I have been testing this with and the expected result:</p>
  
  <p><strong>Expected result</strong></p>
  
  <pre><code>var myobj = {
      count: 5
  };
  
  console.log(myobj) // will log something like object(count: 5)
  console.log(myobj['count']) // 5
  
  var anotherobj = myobj;
  
  console.log(anotherobj) // will log something like object(count: 5)
  console.log(anotherobj['count']) // 5
  </code></pre>
  
  <p>The above is what I remember being the case as objects are passed as references so you still get the data but under another 'name', what seems to actually happen is below:</p>
  
  <p>**Actual result*</p>
  
  <pre><code>var myobj = {
      count: 5
  };
  
  console.log(myobj) // will log something like object(count: 5)
  console.log(myobj['count']) // 5
  
  var anotherobj = myobj;
  
  console.log(anotherobj) // [object Object] &lt;- this seems to be a string
  console.log(anotherobj['count']) // undefined
  </code></pre>
  
  <p>I don't see what is happening, is this a bug is the recent version of Chrome or am I just having some strange imaginative thought thinking that this used to be possible??</p>
  
  <p>Thanks for your help in advanced :)</p>