如何打印此对象的属性值。目前它只打印属性名称而不是值。
var nyc = {
fullName: "New York City",
mayor: "Michael Bloomberg",
population: 8000000,
boroughs: 5
};
for(var x in nyc) { console.log(nyc[x]); }