会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
尼古拉斯-富贵
学不动了
博客园
首页
新随笔
联系
管理
订阅
2020年3月22日
JS实现继承的常用方法
摘要: 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 尼古拉斯-富贵
阅读(199)
评论(0)
推荐(0)
编辑
JS面向对象的理解
摘要: 参考博文:https://www.cnblogs.com/Leo_wl/p/5734794.html
阅读全文
posted @ 2020-03-22 17:07 尼古拉斯-富贵
阅读(177)
评论(0)
推荐(0)
编辑
公告