Getting IN-timate


Stuck with the console returning an error when I'm trying to log all the properties of Object nyc.
here's my code;

 for(var i = 0; i< nyc.length ; i++){
        for(nyc[i] in nyc){console.log(nyc[i]);}

Oops, try again, It looks like you didn't print nyc's fullName

...I've tried again a lot now


Well you're complicating things just a little bit so let's take it back just a bit.

for (var p in nyc) { console.log(p); }

See if that helps!

You were just on the wrong thought process, but I hope this makes sense. If not just let me know and I'll explain it to the best of my ability.


yeah just figured it out way easier over thought it thanks!


YOUR WELCOME, you are going to be very good at code trust me.