📜  json 对象 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:53.511000             🧑  作者: Mango

代码示例4
var myObj, x;
myObj = {"name":"John", "age":30, "car":null};
x = myObj.name;
document.getElementById("demo").innerHTML = x;