Created
June 8, 2020 16:42
-
-
Save alexpaluzzi/6116f90b8ae76a18dbd879c2e284cf40 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