// url
https://mp.weixin.qq.com/advanced/selfmenu?action=index&t=advanced/menu-setting&token=907126635&lang=zh_CN
// 获取第一组参数
location.search.split("?").pop().split("&").shift();
// action=index
shift:从集合中把第一个元素删除,并返回这个元素的值。
unshift: 在集合开头添加一个或更多元素,并返回新的长度
push:在集合中添加元素,并返回新的长度
pop:从集合中把最后一个元素删除,并返回这个元素的值。
223

被折叠的 条评论
为什么被折叠?



