Skip to content

Commit fd79e45

Browse files
committed
translate "In Conclusion" in "Others" to ja
1 parent 85957bc commit fd79e45

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

doc/ja/other/timeouts.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -115,15 +115,11 @@ JavaScriptは非同期なので、`setTimeout`と`setInterval`関数を使って
115115
> できますが、[メソッド](#function.this)を使用した際に、分かりにくいエラーが起りえるので
116116
> 使用はお勧めしません。
117117
118-
### In Conclusion
118+
### 終りに
119119

120-
**Never** should a string be used as the parameter of `setTimeout` or
121-
`setInterval`. It is a clear sign of **really** bad code, when arguments need
122-
to be supplied to the function that gets called. An *anonymous function* should
123-
be passed that then takes care of the actual call.
120+
`setTimeout``setInterval`のパラメーターに文字列を使用する事は**絶対**するべきではありません。引数が関数に呼び出される必要がある場合**本当**に悪いコードの明確なサインになります。実際の呼び出しには*匿名関数*を渡すべきです。
124121

125-
Further, the use of `setInterval` should be avoided since its scheduler is not
126-
blocked by executing JavaScript.
122+
その上で、`setInterval`の使用はそのスケジューラーがJavaScriptの実行をブロックするので避けるべきでしょう。
127123

128124
[1]: http://en.wikipedia.org/wiki/Document_Object_Model "Document Object Model"
129125

0 commit comments

Comments
 (0)