Why is console noting that I changed my prototype before I do?
<p>I am learning about Javascript prototypes and made a Fiddle (<a href="http://jsfiddle.net/3MuZa/1/" rel="nofollow">http://jsfiddle.net/3MuZa/1/</a>) with this javascript:</p>

<pre><code>function Animal(name, sound) {
    this.name = name;
    this.sound = sound;
}

var dog = new Animal("Dog", "Bark");
console.debug(dog.__proto__);

Animal.prototype.makeSound = function() {console.log(this.sound);};
</code></pre>

<p>Interestingly, ​<code>console.debug(dog.__proto__);</code> reveals that <code>makeSound</code> is a method of the prototype of the Animal class.</p>

<p>However, I add that method to the prototype in a later line. Why is Console noting that the prototype has a <code>makeSound</code> method if the control flow hadn't gotten to it yet in my code?</p>
