摘要: ```js // 创建一个字符串 var str = "adminadmiaaaanhelloworldhello", obj = {}; console.log(str, obj) console.log(undefined + 1) // 开启循环处理字符串 for (var i = 0; i str[0] = a --> obj[a]:10 // obj[a] = (obj[str[i]] 阅读全文
posted @ 2019-08-15 20:09 des雷锋 阅读(162) 评论(0) 推荐(0) 编辑