herança de classe jquery

var A=function(){
};

$.extend(A.prototype, {
    init:function(){
        alert('A init');
    }
});
var B=function(){

};

$.extend(B.prototype,A.prototype,{
    init:function(){
        alert('B init');
    }
});
var p=new A();
p.init();
var x=new B();
x.init();

é a melhor maneira de criar classes e heranças em jQuery? No init de B, como eu invoco o init do pai (semelhante ao super.init () nos idiomas OO)?

questionAnswers(6)

yourAnswerToTheQuestion