The first parameter of setTimeout is to execute the function immediately. for (var i = 0; i < 5; i++) { setTimeout((function(i) { console.log(i); })(i), ...
確定! 回上一頁