摘要: /* 组合继承*/function Parent(){ this.name='wsq'; this.sex='nan'; this.sleep=function(){ alert("success"); }};Parent,prototype.eat=function(){ alert("yes") 阅读全文
posted @ 2018-10-30 17:57 心态_开心就好 阅读(385) 评论(0) 推荐(0)