摘要: JSON.stringify()在对象中遇到undefined,function,symbol时会自动忽略;在数组中则会返回null(以保证单元位置不变)。 JSON.stringify( undefined ); // undefined JSON.stringify( function(){} 阅读全文
posted @ 2020-10-19 15:06 你风致 阅读(107) 评论(0) 推荐(0) 编辑