2
我希望我的循環每200ms倒數一次。以x ms間隔倒計時
let myArr = [3, 4, 5, 6];
for (let i = myArr.length - 1; i >= 0; i--) {
console.log(myArr[i]); // execute this console.log every 200ms. (not 200 MS after the last one.)
}
完美,非常感謝很多! – Loogiiooo
直到我問完X分鐘後才能做到這一點。已經嘗試過。 :) – Loogiiooo