对象继承

继承 prototype

function son(){}
son.prototype=new people();//son继承people


继承2 通过对象来承载

img (8).jpg



首页 我的博客
粤ICP备17103704号