摘要: // 数组var trees = new Array("redwood", "bay", "cedar", "oak", "maple");1 in trees // 返回true3 in trees // 返回true6 in trees // 返回false"bay" in trees // 返 阅读全文
posted @ 2019-04-10 16:55 灰姑娘的冰眸 阅读(1166) 评论(0) 推荐(0) 编辑
摘要: 思路: 1.先对url进行处理,获取 ?后的字符串 2. 字符串通过&标识,不同参数转为数组 3.分别将 = 左右两边拆分为数组, 动态变为键值对 阅读全文
posted @ 2019-04-10 10:05 灰姑娘的冰眸 阅读(1595) 评论(0) 推荐(0) 编辑