Last active
October 9, 2021 19:38
-
-
Save NullDev/d620a1808fc445afe79875690db78da3 to your computer and use it in GitHub Desktop.
Readable fizzbuzz one-liner in JavaScript
This file contains 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
Array.apply([], Array(100)).map((e, i) => [["fizz"][i % 3], ["buzz"][i % 5]].join("") || i); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment