Created
June 8, 2020 16:30
-
-
Save alexpaluzzi/86822f8b54b0b62d277e6d9c28993e48 to your computer and use it in GitHub Desktop.
cjg
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
['Baby','Mommy','Daddy','Grandma','Grandpa','Let\'s go hunt',].map((i,f,a)=>{l=a.length-1==f;console.log(`${l?`${i}`:`${i} shark`}, ${'doo, '.repeat(5)}doo\n`.repeat(3)+`${i} ${l?`\nRun away,...`:`shark!`}`)}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment