9/30 Error Message


#1

I have the current code:
`var nyc = {
fullName: "New York City",
mayor: "Bill de Blasio",
population: 8000000,
boroughs: 5
};

for(var x in nyc){
console.log(nyc[x]);
}

The output looks like:

New York City
Bill de Blasio
8000000
5

But code academy gives me an error, saying it didn't print NYC's full name


#2

if you are talking about 9/30
then you have to change

console.log(nyc[x]);

to

console.log(x);

the code you have given here is for 8/30
read the description of the question again properly, then you will understand.