摘要: 今日学习了JavaScript的String对象方法 主要内容有: var s = "ksjvdnasnvdlj" // 1. length 属性返回字符串的长度 console.log(s.length) // 2. charAt 方法返回在指定位置的字符。 console.log(s.charA 阅读全文
posted @ 2023-02-23 21:23 catchtheRainbow 阅读(23) 评论(0) 推荐(0)