I would like to know how to make `child` get the prototype methods from both itself and `base`. 

Also, there any way to do 

```
child.prototype = Object.create(base.prototype);
child.prototype.constructor = child;

```

inside of the `child` IIFE, rather than outside of it.

```
var base = (function(){

    var cls = function(){

    };

    cls.prototype = {
        doStuff: function(){
            console.log('dostuff');
        }
    };

    return cls;

})();

var child = (function(){

    var cls = function(){
        base.call(this);    
    };

    cls.prototype = {
        doOtherStuff: function(){
            console.log('doOtherStuff');
        }
    };

    return cls;

})();

child.prototype = Object.create(base.prototype);
child.prototype.constructor = child;

var b = new child();
b.doStuff();
b.doOtherStuff();

```

<http://jsfiddle.net/9uGsA/>