Factor out the setTimeout function and invoke it immediately in the for loop. var array = [1, 2, 3, 4, 5]for(var i = 0; i < array.
確定! 回上一頁