let firstLetterUpperCase=s=>s.substr(0, 1).toLocaleUpperCase() + s.substr(1).toLocaleLowerCase();标签:AbcfirstLetterUpperCase,firstLetterUpperCase,ABC,转换,abc,substr,首字母,英文单词,aBC From: https://blog.51cto.com/u_15920212/5962647
firstLetterUpperCase('abc')//Abc
firstLetterUpperCase('aBC')//Abc
firstLetterUpperCase('ABC')//Abc