Create a gist now

Instantly share code, notes, and snippets.

ES6でワンライナーfizzbuzz
[...Array(101).keys()].slice(1,101).forEach(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