Javascript inherit constructor
===

As I can do to make child inherit the parent without altering child code constructor like this:

<code>

    var parent = function(params){
        this.params = params;
    }
         
    var child = function(){}
                
    var childObj = new child({one:1,two:2});
    
    console.log(childObj.params) //should show params
</code>