Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js while continue

let i = 0;
let n = 0;

while (i < 5) {
  i++;

  if (i === 3) {
    continue;
  }

  n += i;
}
 
PREVIOUS NEXT
Tagged: #js #continue
ADD COMMENT
Topic
Name
7+1 =