What Will Be The Role Of The Strongcontinuestrong Keyword In #71
What will be the role of the <strong>continue</strong> keyword in the following JavaScript code snippet?</p> <pre><code class="language-javascript"> while (a != 0) { if (a == 1) continue; else a++; } </code></pre>
This multiple choice question (MCQ) is related to the book/course gs gs106 Javascript. It can also be found in gs gs106 Lexical Structures - JavaScript Loops - Quiz No.1.
What will be the role of the continue keyword in the following JavaScript code snippet?
while (a != 0) { if (a == 1) continue; else a++; }
The continue keyword restarts the loop
The continue keyword skips the next iteration
The continue keyword skips the rest of the statements in that iteration
The continue keyword breaks out of the loop
Similar question(s) are as followings:
Online Quizzes of gs106 Javascript
Graphics and Rendering in JavaScript - Scripted Media - Quiz No.1
gs gs106 Javascript
Online Quizzes