title: Javascript Prototypal inheritance with Multiple Objects
body: <p>Say I have 5 Objects</p>
  
  <pre><code>Callback
  Perishable
  Object1
  Object2
  Object3
  </code></pre>
  
  <p>Object1 needs to extend the Callback but not the Perishable object, whereas Object 2 should extend both and Object 3 should extend Perishable but not callback. </p>
  
  <p>I know this works...</p>
  
  <pre><code>Object1.prototype = new Callback();
  Object3.prototype = new Perishable();
  </code></pre>
  
  <p>but how would I do something like (I know this isnt working)</p>
  
  <pre><code>Object2.prototype = new Callback() &amp;&amp; new Perishable();
  </code></pre>