title: JavaScript Extending Class
body: <p>I have a base class:</p>
  
   
  
  <pre><code>function Monster() {
    this.health = 100;
  }
  
  Monster.prototype.growl = function() {
    console.log("Grr!");
  }
  </code></pre>
  
  <p>That I want to extend and create another class with:</p>
  
  <pre><code>function Monkey extends Monster() {
    this.bananaCount = 5;
  }
  
  Monkey.prototype.eatBanana {
    this.bananaCount--;
    this.health++; //Accessing variable from parent class monster
    this.growl();  //Accessing function from parent class monster
  }
  </code></pre>
  
  <p>I've done quite a bit of research and there appears to be many convoluted solutions for doing this in JavaScript. What would be the simplest and most reliable way of accomplishing this in JS?</p>