📜  js settimeout - Javascript 代码示例

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

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