3.(javascript)decodeURICompnent解码后的加号问题
时间:2021-07-09 23:15:22
收藏:0
阅读:42
decodeURIComponent(q.replace(/\+/g, "");
带全局标志/g,全局替换
无全局标志/g,只替换第一个匹配的返回结果字符串
原文:https://www.cnblogs.com/sweettie/p/14992364.html
评论(0)