阅读背景:

js的三种继承方式及其优缺点

来源:互联网 

第一种,prototype的方式:

//父类  
function person(){
this.hair = 'black'; thi



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: