js下划线之后的小写字母转大写
功能实现将原先的字符串 "name_firstname_secondname"转化成 "nameFirstnameSecondname"let testStr = 'name_firstname_secondname' function toUp(str) { let newStr = '' let arr = str.split('_') arr.forEach((item,