Created
March 24, 2016 05:24
-
-
Save miguelludert/f0484df9674ab82eb650 to your computer and use it in GitHub Desktop.
Fizz Buzz
This file contains hidden or 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 r=[],i=1;for(;i<101;i++)r.push(((i%3?'':'fizz')+((i%5)?'':'buzz'))||i);console.log(r); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment