A-M baby
This commit is contained in:
parent
764da6cbbb
commit
db842d013d
19005 changed files with 197040 additions and 7 deletions
10
Task/Loops-Continue/JavaScript/loops-continue.js
Normal file
10
Task/Loops-Continue/JavaScript/loops-continue.js
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
var output = "";
|
||||
for (var i = 1; i <= 10; i++) {
|
||||
output += i;
|
||||
if (i % 5 == 0) {
|
||||
print(output);
|
||||
output = "";
|
||||
continue;
|
||||
}
|
||||
output += ", ";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue