This Gist was automatically created by Carbide, a free online programming environment.
Created
October 19, 2017 17:29
-
-
Save carbide-public/2d01bc9ec642f6f410b550dcef5d8172 to your computer and use it in GitHub Desktop.
untitled
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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