title: console.log() showing contradictory values for the same object property
body: <p>I think i might be going mad.</p>
  
  <p>I use console.log() to see the state of an object and then on the next line do a console.log() on a particular property of the same object and get different values for each.</p>
  
  <p>The code i'm using is:</p>
  
  <pre><code>console.log(this.pictures.Items[pic].val);
  
  for(var i in this.pictures.Items[pic].val) {
      console.log("property: %s, value: %s", i, this.pictures.Items[pic].val[i] );
  }
  </code></pre>
  
  <p>and firebug outputs:</p>
  
  <pre><code>Picture { isLoaded=true, isSelected=false, img_src="imgs/image1.jpg", more...}
  
  property: isLoaded, value: false
  ...more properties
  </code></pre>
  
  <p>as you can see, 'isLoaded' is true when logging the object itself but false when logging the property.</p>
  
  <p>I have tried logging the object again after just in case, and it is true again.</p>
  
  <p>Does anyone know what is happening here?</p>
  
  <p>Thanks</p>
  
  <p>Rich</p>