Created
June 2, 2013 00:06
-
-
Save jorinvo/5692125 to your computer and use it in GitHub Desktop.
Try to write FizzBuzz with as little code as possible.
Language doesn't matter.
This one in javascript is 66 chars.
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
for(n=0;++n<101;){console.log((n%3?'':'Fizz')+(n%5?'':'Buzz')||n)} |
Author
jorinvo
commented
Jun 2, 2013
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment