📅  最后修改于: 2022-03-11 15:03:46.797000             🧑  作者: Mango
代码示例2
var myObj, x;
myObj = {"name":"John", "age":30, "car":null};
x = myObj.name;
document.getElementById("demo").innerHTML = x;