Created
May 31, 2014 17:21
-
-
Save a1ip/470b237f1aec281e0c1b to your computer and use it in GitHub Desktop.
My elegant CoffeeScript FizzBuzz one-liner
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| console.log(['Fizz' if i % 3 is 0] + ['Buzz' if i % 5 is 0] or i) for i in [1..100] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment