Emulating static variables using prototype
<pre><code>function Person() {}
Person.prototype.population = 0;
Person.prototype.constructor = function(name) {
    this.name = name;
    console.log("Name: " + this.name);
    console.log("Population: " + (++this.population) );
}

var p = new Person("Wex");
</code></pre>

<p>The following code doesn't seem to work, although logically I feel like it seems sound. How come this doesn't display the name and population?</p>
