Skip to content

Instantly share code, notes, and snippets.

@carbide-public
Created October 19, 2017 17:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carbide-public/2d01bc9ec642f6f410b550dcef5d8172 to your computer and use it in GitHub Desktop.
Save carbide-public/2d01bc9ec642f6f410b550dcef5d8172 to your computer and use it in GitHub Desktop.
untitled
var str = ""
for (var i = 1; i<30; i++) {
if(i%3 == 0) str += "Fizz"; ///Fizz is when a gas sublimates
if(i%5 == 0) str += "Buzz"; ///Buzz is when something vibrates\\
if (i%3 && i%5) {
str += i
}
str += ' '
}
str
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment