📅  最后修改于: 2022-03-11 15:01:31.429000             🧑  作者: Mango
代码示例1
const capitalize = str => str.charAt(0).toUpperCase() + str.slice(1)
capitalize("follow for more")
// Result: Follow for more