function Aaa(){ this.a = 12; setInterval(this.show,1000);}Aaa.prototype.show = function(){ console.log(this.a);}var a = new Aaa(); 按照理解window里没有show的方法,结果打印出来的是a对象,理解不了,求大神指点
添加回答
举报
0/150
提交
取消