Spongebob Text Generator

Run Settings
LanguageJavaScript
Language Version
Run Command
function spongebobText(str) { let newStr = '' str.split('').forEach((el, idx) => { newStr += idx % 2 === 0 ? el.toLowerCase() : el.toUpperCase() }) return newStr } console.log(spongebobText('this is stupid and pointless'))
Editor Settings
Theme
Key bindings
Full width
Lines