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