title: Is Chrome’s JavaScript console lazy about evaluating objects?
body: <p>I’ll start with the code:</p>
  <pre class="lang-js prettyprint-override"><code>var s = [&quot;hi&quot;];
  console.log(s);
  s[0] = &quot;bye&quot;;
  console.log(s);
  </code></pre>
  <p>Simple, right? In response to this, the Firefox console says:</p>
  <pre class="lang-js prettyprint-override"><code>[ &quot;hi&quot; ]
  [ &quot;bye&quot; ]
  </code></pre>
  <p>Wonderful, but Chrome’s JavaScript console (7.0.517.41 beta) says:</p>
  <pre class="lang-js prettyprint-override"><code>[ &quot;bye&quot; ]
  [ &quot;bye&quot; ]
  </code></pre>
  <p>Have I done something wrong, or is Chrome’s JavaScript console being exceptionally lazy about evaluating my array?</p>
  <p><a href="https://i.stack.imgur.com/LvR0l.png" rel="noreferrer"><img src="https://i.stack.imgur.com/LvR0l.png" alt="Screenshot of the console exhibiting the described behavior." /></a></p>