9.Excercise 9.Getting IN timate


9.Excercise 9.Getting IN timate

It runs, but I expected to have other results... I thonk I would print only the fullName

var nyc = {
    fullName: "New York City",
    mayor: "Bill de Blasio",
    population: 8000000,
    boroughs: 5
for(var fullName in nyc){console.log(fullName);


What other results did you want to see?

This code should print only the keys I believe.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.