這裏就是我想要做的事: window.i = 0; while(window.i < 10){ setTimeout(function(){alert(window.i);}, 2000); window.i++; } 經過兩次秒鐘我得到10個警報, ...
確定! 回上一頁