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