Welcome to Incremental Social! Learn more about this project here!
Check out lemmyverse to find more communities to join from here!

basdiljhs ,

for(var i=0;i<=100;i++){
if((i%2)==1)
console.log(i);
}

btw % is the modulo operator,
x%y returns the remainder of division of x by y

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linuxmemes@lemmy.world
  • random
  • incremental_games
  • meta
  • All magazines