1. setInterval(update,1000); 一秒后執行update函數 2. setInterval(update(),1000); 立即執行update函數 3. setInterval("update()",1000); 一秒后執行update函數