Skip to content

Commit bcb31de

Browse files
committed
translate "Manually Clearing Timeouts" in "Others" to ja
1 parent 80a65ff commit bcb31de

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

doc/ja/other/timeouts.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,9 @@ JavaScriptは非同期なので、`setTimeout`と`setInterval`関数を使って
5858

5959
このカプセル化は`setTimeout`の呼び出しだけでなく、呼び出しのスタッキングを防止してより詳細なコントロールが出来ます。`foo`それ自身が今や、再度実行するかしないかを決める事が出来るのです。
6060

61-
### Manually Clearing Timeouts
61+
### 手動でタイムアウトをクリアする
6262

63-
Clearing timeouts and intervals works by passing the respective ID to
64-
`clearTimeout` or `clearInterval`, depending which `set` function was used in
65-
the first place.
63+
タイムアウトとインターバルのクリアは、`clearTimeout``clearInterval`に個別のIDを渡せば出来ます。最初に`set`関数を使った場所に依存します。
6664

6765
var id = setTimeout(foo, 1000);
6866
clearTimeout(id);

0 commit comments

Comments
 (0)