/alternate.js

Alternates the case of letters

Primary LanguageJavaScript

This alternates case in a string like the spongebob meme as follows: "tHiS AlTeRnAtEs cAsE LiKe tHiS"

To run just make sure you have node installed, download the alternate.js file to a directory and run

node alternate.js "string"