First letter uppercase, other lowercase
首字母大写,其余小写
The string to capitalize. 要首字母大写的字符串
The capitalized string. 首字母大写的字符串
capitalize('hello') // 'Hello'capitalize('WORLD') // 'World' Copy
capitalize('hello') // 'Hello'capitalize('WORLD') // 'World'
First letter uppercase, other lowercase
首字母大写,其余小写