摘要:
继承分为原型链继承、构造函数继承、组合式继承 function person(name){ this.name=name; this.course=["英语","高数"]; } person.prototype.say=function(){ return "hi"; } 原型链继承: functi 阅读全文
posted @ 2018-04-03 17:18
球宝妈妈
阅读(111)
评论(0)
推荐(0)
摘要:
开通自己的博客啦,以后多发文章多分享! 阅读全文
posted @ 2018-04-03 16:58
球宝妈妈
阅读(77)
评论(0)
推荐(0)

浙公网安备 33010602011771号