校验obj是否能被json.stringify
校验obj是否能被json.stringify
日期:2022-04-07 01:33:21 人气:1
var student = new Object();
student.name = "柯乐义";
student.age = "25";
student.location = "广州";
var json = JSON.stringify(student);
document.writeln('JSON
student.name = "柯乐义";
student.age = "25";
student.location = "广州";
var json = JSON.stringify(student);
document.writeln('JSON