RosettaCodeData/Task/Loops-Do-while/JavaScript/loops-do-while-1.js

5 lines
53 B
JavaScript

var val = 0;
do {
print(++val);
} while (val % 6);