javascript String 的扩展方法集合 获取字符数组 String prototype ToCharArray=function() { returnthis split(""); } 获取N个相同的字符 JavaScript 2022-04-21 196 点赞 2 评论 296 浏览