let name = 'hello'
name.charAt(0).toUpperCase() + name.slice(1)
字符串首字母大写
最新推荐文章于 2021-08-10 16:34:38 发布
let name = 'hello'
name.charAt(0).toUpperCase() + name.slice(1)