Is there a better way to inherit with a design pattern similar to this
<p>I need basic inheritance. This pattern works but I don't like how I have to do mustang.prototype.x every time.</p>

<pre><code>    function base() {

    }

    function car() {

    }
    car.prototype = new base();

    function mustang() {

    }
    mustang.prototype = new car();
    mustang.prototype.a = function () { alert("a"); }
    mustang.prototype.b = function () { alert("b"); }
    mustang.prototype.c = function () { alert("c"); }
</code></pre>

<p>*this is great but a little too complicated and I don't want John doing all of my coding <a href="http://ejohn.org/blog/simple-javascript-inheritance/" rel="nofollow">http://ejohn.org/blog/simple-javascript-inheritance/</a></p>
