想问问下面liang'duan代码区别在哪里,
var timer = window.setInterval(function(){
heroBullets[heroBullets.length-1].run();
},50);
var timer = window.setInterval("heroBullets["+(heroBullets.length-1)+"].run()",50);