📌  相关文章
📜  运行一段时间循环 javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:30.006000             🧑  作者: Mango

代码示例1
var keepCalling = true;
setTimeout(function () {
    keepCalling = false;
}, 60000);

while (keepCalling) {
    callPeople();
}