Open Kydane opened 5 years ago
A sample of how it could look:
input.split('').map( c => Math.round(Math.random()) ? c.toUpperCase() : c.toLowerCase()).join('');
@AlexVulaj Damn lambdas into a ternary, keep your fanciness out of my javascript!
I was asked to add a feature like !spongebobmock that would autogenerate a spongebob meme or at least the random uppers and lowers capitalization.
This might open up the idea of doing more memes, i'm sure theres a node meme generator somewhere...