Inheriting a class that has the same constructor but different/similar prototypes
<p>Suppose I have a constructor:</p>

<pre><code>function Constructor(input) {
  this.input = input
}

Constructor.prototype.method = function() {
  console.log('a')
}
</code></pre>

<p>But I want to make another class using a copy of the constructor, but changing the prototypes.</p>

<pre><code>function Constructor2(input) {
  this.input = input
}

Constructor2.prototype.method = function() {
  console.log('b')
}
</code></pre>

<p>I don't want to redefine the constructor. How would you do this? Ideally it would be something as simple as:</p>

<pre><code>var Constructor2 = inherits(Constructor)
Constructor2.prototype.method = // overwrite the inherited `method()`
</code></pre>
