📜  超时 javascript 代码示例

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

代码示例6
// Run anonymous function after 5,000 milliseconds (5 seconds)
setTimeout(() => {
    // Run code
}, 5000);