function pascalCase(str) {
    return words(str).reduce((result, word, idx) => {
        return result + (idx && isUpperCase(word) ? word : capitalize(word));
    }, '');
}
function pascalCase(str) {
    return words(str).reduce((result, word, idx) => {
        return result + (idx && isUpperCase(word) ? word : capitalize(word));
    }, '');
}
function pascalCase ( str ) { return words ( str ) . reduce ( ( result , word , idx ) => { return result + ( idx && isUpperCase ( word ) ? word : capitalize ( word ) ) ; } , '' ) ; }
****************************************
大驼峰
****************************************
**************************************** 大驼峰 ****************************************