Grand.prototype.lastName = 'ji'; function Grand(){}; var grand = new Grand(); Father.prototype = grand; function Father(){ this.name = 'hehe'; };var father = new Father(); Son.prototype = father;function Son(){ this.name = 'klkx'}; var son = new Son(