title: JavaScript inheritance: When where's my derived members?
body: <p>Take a look at the following code:</p>
  
  <pre><code>function Primate() {
      this.prototype = Object;
      this.prototype.hairy = true;
  }
  
  function Human() {
      this.prototype = Primate;
  }
  
  new Human();
  </code></pre>
  
  <p>When you inspect <code>new Human()</code>, there's no <code>hairy</code> member. I would expect there to be one. Is there another way I'm suppose to inherit from <code>Primate</code>? Something involving <code>Object.create()</code> (ECMAScript5 is fine to use in my scenario)?</p>