会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
PANIC404
博客园
首页
新随笔
联系
管理
订阅
2020年6月10日
ES6 中关于Class类的继承理解
摘要: ES5 和 ES6 在类和继承的不同,举例如下: ES5 的类和继承: function Person(name){ this.name = name; } Person.prototype.showName = function(){ return this.name; }; var ops =
阅读全文
posted @ 2020-06-10 16:49 PANIC404
阅读(182)
评论(0)
推荐(0)
编辑
公告