Create a gist now

Instantly share code, notes, and snippets.

JavaScriptでワンライナーfizzbuzz
for(var i=1;i<101;i++) console.log((i%3?'':'fizz')+(i%5?'':'buzz')||i);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment