js timeout

setTimeOut(“”,毫秒):調用函數時,不是立刻執行,而是間隔一定的時間后在執行;

clearTimeOut():清除計時器

猜你喜欢

转载自www.cnblogs.com/Zhengxiaoxiao/p/10481688.html