Created
July 7, 2017 18:58
-
-
Save ijadams/58aa62fda8c7658bf243ea3b16c2c1ce to your computer and use it in GitHub Desktop.
songe bob meme case
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
function spongeBob(str){ | |
return str.split('').map((v,i) => i % 2 ? v.toLowerCase(): v.toUpperCase()).join(''); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment