const camelcase = (stringToConvert) => { const stringArray = stringToConvert.trim().split(" ") const camel = stringArray.map(indie => { return indie[0].toUpperCase() + indie.slice(1) }) return camel.join(''); }
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
Stay on the cutting edge, and shape tomorrow
Discussion on: Daily Challenge #95 - CamelCase Method
For further actions, you may consider blocking this person and/or reporting abuse