Skip to content

Instantly share code, notes, and snippets.

@lalabuy948
Created November 7, 2018 11:27
Show Gist options
  • Save lalabuy948/ad857ee954ce0318793a80058c43dc6c to your computer and use it in GitHub Desktop.
Save lalabuy948/ad857ee954ce0318793a80058c43dc6c to your computer and use it in GitHub Desktop.
for (var i=0; i < 101; i++){
if (i % 15 == 0) console.log("FizzBuzz");
else if (i % 3 == 0) console.log("Buzz");
else if if (i % 5 == 0) console.log("Fizz");
else console.log(i);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment