function timer() { timerId = setTimeout(addNum, 1000); } clearTimeout(timerId); // 當代碼運行到這行的時候,會取消timer所設置的定時器。 在控制臺 ...
確定! 回上一頁