continue
直近のブロックの先頭に処理を移します。ラベルが指定されている場合、ラベルの位置に処理を移します。
構文
continue ラベル
例文
<html> <head> <title>continue</title> </head> <body> <script type="text/javascript"><!-- for (var i=0; i<10; i++) { if (i == 5) continue; document.write(i+"<br>"); } // --></script> </body> </html>
関連記事
- with
- while
- var
- try
- throw
- this
- switch
- return
- new
- if
- function
- finally
- else
- do
- delete
- default
- const
- catch
- case
- break
- Comment / コメント / 注釈
スポンサーリンク