diff options
author | Florian Dieminger <me@fiji-flo.de> | 2021-02-11 18:24:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-11 18:24:59 +0100 |
commit | 772b3cc462ebbd939d77fbdc35173b7c9bb5670c (patch) | |
tree | a5ccab6bafbf375a8f57bdb406878db630329fe0 /files/ja/web/javascript/guide/loop_statements/do...while_statement | |
parent | aaeeb9abf350ff53bc52223c6a2f6a15d755ae07 (diff) | |
parent | 9368f65a6c94ddbf6bfe9f4f1f27f166b2e2129f (diff) | |
download | translated-content-772b3cc462ebbd939d77fbdc35173b7c9bb5670c.tar.gz translated-content-772b3cc462ebbd939d77fbdc35173b7c9bb5670c.tar.bz2 translated-content-772b3cc462ebbd939d77fbdc35173b7c9bb5670c.zip |
Merge pull request #30 from fiji-flo/unslugging-ja
Unslugging ja
Diffstat (limited to 'files/ja/web/javascript/guide/loop_statements/do...while_statement')
-rw-r--r-- | files/ja/web/javascript/guide/loop_statements/do...while_statement/index.html | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/files/ja/web/javascript/guide/loop_statements/do...while_statement/index.html b/files/ja/web/javascript/guide/loop_statements/do...while_statement/index.html deleted file mode 100644 index 6e1df1e586..0000000000 --- a/files/ja/web/javascript/guide/loop_statements/do...while_statement/index.html +++ /dev/null @@ -1,19 +0,0 @@ ---- -title: do...while 文 -slug: Web/JavaScript/Guide/Loop_Statements/do...while_Statement ---- -<h3 id="do...while_.E6.96.87" name="do...while_.E6.96.87">do...while 文</h3> -<p><code>do...while</code> 文は指定した条件が false に評価されるまで繰り返します。<code>do...while</code> 文は次のように使用します。</p> -<pre class="eval">do - statement -while (condition); -</pre> -<p><code>statement</code> は条件がチェックされる前に一度実行されます。複数の文を実行するにはブロック文 (<code>{ ... }</code>) を使用して文をグループ化してください。<code>condition</code> が true の場合、その文が再び実行されます。毎回実行された後に条件がチェックされます。条件が false ときは実行が停止され、コントロールが <code>do...while</code> の後に続く文に渡されます。</p> -<p><strong>例</strong><br> - 次の例では do ループは最低 1 回は反復され、i が 5 より小さくなくなるまで反復されます。</p> -<pre class="eval">do { - i += 1; - document.write(i); -} while (i < 5); -</pre> -<p>{{ PreviousNext("JavaScript/Guide/Loop_Statements/for_Statement", "JavaScript/Guide/Loop_Statements/while_Statement") }}</p> |