摘要: 1.charAt(index) 输出index位置的字符 var stringValue = "hello world"; alert(stringValue.charAt(1));//输出 e 2.charCodeAt(index) 输出index位置的字符对应的ASCII码 var string 阅读全文
posted @ 2020-03-23 21:46 小新的开始 阅读(173) 评论(0) 推荐(0) 编辑