摘要:
const someWords = ' Test Content ' const newWords = someWords.replace(/\s+/g, '#') // 连续的空格替换成一个“#” const newWord = someWords.replace(/\s/g, '#') // 一 阅读全文
posted @ 2020-06-09 13:51
iceBreak
阅读(234)
评论(0)
推荐(0)
浙公网安备 33010602011771号