会员
周边
新闻
博问
融资
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
麦兜家园
优秀是一种习惯
博客园
首页
新随笔
联系
订阅
管理
2021年5月20日
es6中类的继承属性和super关键字
摘要: class Person{ constructor(name,age,sex){ this.name = name; this.age = age; this.sex = sex; } getSex(){ return this.sex; } isMan(){ return this.sex 1;
阅读全文
posted @ 2021-05-20 11:22 麦兜家园
阅读(204)
评论(0)
推荐(0)
编辑
公告