📅  最后修改于: 2022-03-11 15:03:20.032000             🧑  作者: Mango
代码示例6
const string = "tHIS STRING'S CAPITALISATION WILL BE FIXED."
const string = string.charAt(0).toUpperCase() + string.slice(1)