lib/string.js
function camelCase(str) {
    return words(str).reduce((result, word, idx) => {
        return result + (idx ? (isUpperCase(word) ? word : capitalize(word)) : lowerCase(word));
    }, '');
}
function camelCase(str) {
    return words(str).reduce((result, word, idx) => {
        return result + (idx ? (isUpperCase(word) ? word : capitalize(word)) : lowerCase(word));
    }, '');
}
function camelCase ( str ) { return words ( str ) . reduce ( ( result , word , idx ) => { return result + ( idx ? ( isUpperCase ( word ) ? word : capitalize ( word ) ) : lowerCase ( word ) ) ; } , '' ) ; }
****************************************
小驼峰
****************************************
**************************************** 小驼峰 ****************************************