Edit in JSFiddle

// ベースクラス
function A(){}

// サブクラス
function B(){}

// こいつを追加
B.prototype = new A();


// 検証
console.log(A.prototype);// A {}
console.log(B.prototype);// A {} になった!