摘要: stringify()用于从一个对象解析出字符串; var person = {name:"vanida","sex":"girl","age":25}; localStorage.setItem("person",JSON.stringify(person)); // localStorage.p 阅读全文
posted @ 2017-12-21 11:25 realDanielWu 阅读(312) 评论(0) 推荐(0) 编辑