🌈 搜索
📅  最后修改于: 2022-03-11 15:02:02.486000             🧑  作者: Mango
var str = "Hello"; var newString = str.substring(0, str.length - 1); //newString = Hell