Skip to content

Instantly share code, notes, and snippets.

@ykhs ykhs/fizzbuzz.js
Created Dec 10, 2013

Embed
What would you like to do?
Array.apply(null,Array(100)).map(function(i,j){++j;i='';!(j%3)&&(i='fizz');!(j%5)&&(i+='buzz');console.log(i||j)})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.