摘要: JSON.stringify()和JSON.parse() JSON.stringify() 定义:将对象转换为json字符串。 使用: const obj = { a: 1, b: 2 }; const newObj = JSON.stringify(obj); console.log(newOb 阅读全文
posted @ 2020-06-04 19:00 诚实村诚实人 阅读(164) 评论(0) 推荐(0)