摘要: <script> var jsonArr = [ {id: 10, name: 'a'}, {id: 7, name: 'n'}, {id: 1, name: 'x'}, {id: 3, name: 'y'}, {id: 2, name: 'c'}, ] var arr = [1, 2, 1, 2, 阅读全文
posted @ 2018-03-17 22:54 萧大师 阅读(1734) 评论(0) 推荐(0) 编辑
摘要: localStorage会把所存进的值都转换成字符串类型 阅读全文
posted @ 2018-03-17 21:41 萧大师 阅读(95) 评论(0) 推荐(0) 编辑