这个问什么setInterval没有重复调用函数?<script type="text/javascript">function C(){this.test = "abc";}var c = new C();C.prototype.xx = function(obj){console.log(obj.test);}c.xx(c);c.xx(c);c.xx(c);c.xx(c);c.xx(c);c.xx(c);setInterval(c.xx(c),50);</script>
添加回答
举报
0/150
提交
取消