Skip to content

Instantly share code, notes, and snippets.

@spangey
Created August 9, 2016 18:07
Show Gist options
  • Save spangey/9f4f8bfdbe89fd71142aaed8deb96a69 to your computer and use it in GitHub Desktop.
Save spangey/9f4f8bfdbe89fd71142aaed8deb96a69 to your computer and use it in GitHub Desktop.
fizzbuzz
for(i=0;++i<101;console.log(i%5?x||i:x+'Buzz'))x=i%3?'':'Fizz'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment