title: Bug in console.log?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/4057440/is-chromes-javascript-console-lazy-about-evaluating-arrays">Is Chrome&#39;s JavaScript console lazy about evaluating arrays?</a>  </p>
  </blockquote>
  
  
  
  <p>I try the following code:</p>
  
  <pre><code>var myList = new Object();
  var item   = new Object();
  item.text  = "item-1";
  myList[3]  = item;
  
  console.log(myList);
  console.log(myList[3].text);
  
  // Assign another object to the same entry
  var item2   = new Object();
  item2.text  = "item-2";
  myList[3]  = item2;
  
  console.log(myList);
  console.log(myList[3].text);
  </code></pre>
  
  <p>The result is quite odd:</p>
  
  <pre><code>* Object
    * 3: Object
        text: "item-2"
  
  item-1
  
  * Object
    * 3: Object
        text: "item-2"
  
  item-2
  </code></pre>
  
  <p>BUT - if i execute the second part after some time (using setTimeout), and unfold the first object, I get it right, i.e.:</p>
  
  <pre><code>* Object
    * 3: Object
        text: "item-1"
  
  item-1
  
  * Object
    * 3: Object
        text: "item-2"
  
  item-2
  </code></pre>
  
  <p>I find it important to share it, since I think one can waste a lot of time trying to understand what's wrong in his code.
  And if somebody has some reference to an open bug or something - please reply this ticket. 
  Thanks!</p>