re: Daily Challenge #95 - CamelCase Method VIEW POST

FULL DISCUSSION
 

JS

var camelcase = (s) => {
    var o = new Object(s)
    return o.split` `
                 .map(p => p.split``
                       .map((q, i) => i === 0 ? q.toUpperCase(): q)
                                .join``)
                                        .join``
}
code of conduct - report abuse