var nyc = { fullName: "New York City", mayor: "Bill de Blasio", population: 8000000, boroughs: 5}; for(var property in nyc) { console.log(nyc.property); }//控制台 不应该是属性的值么?undefinedundefinedundefinedundefined
添加回答
举报
0/150
提交
取消