2021年8月2日
摘要: const str ='xxxx$xx$xx'str.replace(/\$/g,'') // "xxxxxxxx" str.replaceAll('$','') // "xxxxxxxx" str.replaceAll(/\$/g,'') // "xxxxxxxx" 备注:有的浏览器(safari 阅读全文
posted @ 2021-08-02 14:00 稳住别慌 阅读(438) 评论(0) 推荐(0) 编辑