摘要:
let str1 = 'http://item.taobao.com/item.htm?a=1&b=2&c=&d=xxx&e=undefined' function unique(str) { let json = {} let arr = str.split('?')[1].split('&') 阅读全文
posted @ 2021-02-04 17:56
流弊的小涛
阅读(179)
评论(0)
推荐(0)
摘要:
function formate(str){ return str.replace(/^\s+/g,'').replace(/\s+$/g,'') } 阅读全文
posted @ 2021-02-04 17:55
流弊的小涛
阅读(146)
评论(0)
推荐(0)