setTimeout.js

var cyn = function(){
    console.log("我是延时输出的函数")
}
setTimeout(cyn,5000)
原文地址:https://www.cnblogs.com/cynthia-wuqian/p/4953761.html