摘要:
1、构造函数继承 function Parent(name){ this.name=name; } Parent.prototype.saiHi=function(){ console.log("hello") } function child(name,age,gender){ Parent.ca 阅读全文
posted @ 2020-03-22 17:47
尼古拉斯-富贵
阅读(206)
评论(0)
推荐(0)
摘要:
参考博文:https://www.cnblogs.com/Leo_wl/p/5734794.html 阅读全文
posted @ 2020-03-22 17:07
尼古拉斯-富贵
阅读(185)
评论(0)
推荐(0)

浙公网安备 33010602011771号