Min's blog

I choose to see the beauties in the world.

导航

2017年2月27日

摘要: 1. 解析URL对象 字符串拆分,使用indexOf,split function queryUrl(URL) { let obj = {}; if (URL.indexOf('?') < 0) return obj; let arg = URL.split("?")[1].split("&"); 阅读全文

posted @ 2017-02-27 14:44 Min77 阅读(91) 评论(0) 推荐(0)