time.md - yucing/wp109b GitHub Wiki

★需使用Date()函數

1. setTimeout(function,millisecond); ==>幾毫秒後執行函式

2. clearTimeout(物件) ==>停止物件觸發

3. setInterval(function,millisecond); ==>在幾毫秒後執行函式(一直執行)

4. clearInterval(物件) ==>停止物件持續進行