Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
0
for (var i = 0; i < 20; i++){ if (i % 2 == 1) // if returns remainder, its odd console.log(i) } NOTE: i % 2 == 0 for even numbers
22nd Feb 2018, 12:58 AM
「HAPPY TO HELP」
「HAPPY TO HELP」 - avatar