📅  最后修改于: 2022-03-11 15:02:59.658000             🧑  作者: Mango
// setTimeout() Method in javascript
function setTimeoutFunction() {
setTimeout(function(){ console.log("This message will display after 5 seconds"); }, 5000);
}
setTimeoutFunction();