Bamboo
Results
1
comments of
Bamboo
## 思路 字符串分割拿到参数相关的字符串,再做类型转换 ## code ``` const dismantle = (url) => { const aimUrl = url.split('?').pop().split('#').shift().split('&'); const res = {}; aimUrl.forEach(item => { const [key, val] = item.split('='); res[key] =...