帮忙解释一下输出的结果为什么是333和aaafunction superClass () {this.c =333;this.d ='bbb';}function subClass () {this.c =222;superClass.call(this);this.d ='aaa';console.log(this.c);//333console.log(this.d);//aaa}subClass();
添加回答
举报
0/150
提交
取消