08 2023 档案
js replace方法 (字典表匹配替换字符)
摘要:常规replace使用 const text1 = 'abcdefg' const text2 = text1.replace('bc','00') // text2 = 'a00defg' 字典表匹配替换 const replacements = { '&lt;': '<', '&gt;': '> 阅读全文
posted @ 2023-08-07 16:46 我想开个小卖部 阅读(154) 评论(0) 推荐(0)