Created
November 1, 2017 04:38
-
-
Save fielding/a9a0c1c0e5cd42e02e233aea89c7485a to your computer and use it in GitHub Desktop.
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
| const range = Array.from(Array(101).keys()); | |
| var buzzler = n => console.log( | |
| `${n}: ${ n % 3 === 0 ? 'Fizz' : '' }${ n % 5 === 0 ? 'Buzz' : '' }` | |
| ); | |
| range.map(buzzler); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment