Created
June 4, 2018 08:26
-
-
Save ryu1-1uyr/7cea5f1a73ad7ca1063e1158db8b075d to your computer and use it in GitHub Desktop.
0604の授業の成果です filter mapとか
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(31).keys()].filter(x => x > 0).map(y => y%3==0 ? y%5 ==0?"FizzBuzz":"Fizz":y%5==0?"Buzz":y) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment