2020年6月7日

浅谈:es6 super

摘要: es6里面class的继承这一章, 对super一些概念上的理解,通过查询网上大神们的见解,来加深自己的理解: class A { constructor() { this.x = 1; } } class B extends A { constructor() { super(); this.x 阅读全文

posted @ 2020-06-07 13:05 文艺小书生 阅读(525) 评论(0) 推荐(0) 编辑

导航