Skip to content

Instantly share code, notes, and snippets.

@JakeCoxon
Created May 24, 2013 00:29
Show Gist options
  • Save JakeCoxon/5640531 to your computer and use it in GitHub Desktop.
Save JakeCoxon/5640531 to your computer and use it in GitHub Desktop.
FizzBuzz
for(i=0;++i<101;console.log([i,a='Fizz',b='Buzz',a+b][!(i%3)+2*!(i%5)]));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment