jsタイマー関連 arnest 13年前 jsのタイマー関連 myTimer = setTimeout(doSomething, 1000) 1秒後のdoSomethingを実行する。 clearTimeout(myTimer); タイマーをクリアする。