Indi
韩小韩博客 vvhan.com

⾸先先来讲下class,其实在JS中并不存在类,class只是语法糖,本质还是函数classPerson{}PersoninstanceofFunction;//true组合继承functionParent(value){this.val=value;}Parent.prototype.getVal…

讨论

还没有评论,来说第一句吧。

韩小韩博客 的其他文章