javascript中使用replaceAll()函数实现字符替换的方法
第一次发现JavaScript中replace() 方法如果直接用str.replace("-","!") 只会替换第一个匹配的字符.
下载地址
用户评论