Skip to content

Latest commit

 

History

History
36 lines (32 loc) · 727 Bytes

File metadata and controls

36 lines (32 loc) · 727 Bytes

Practice Problem 53: Access Object Values

const user = {
  id: 1,
  name: "Leanne Graham",
  username: "Bret",
  email: "[email protected]",
  address: {
    street: "Kulas Light",
    suite: "Apt. 556",
    city: "Gwenborough",
    zipcode: "92998-3874",
    geo: {
      lat: "-37.3159",
      lng: "81.1496",
    },
  },
  phone: "1-770-736-8031 x56442",
  website: "hildegard.org",
  company: {
    name: "Romaguera-Crona",
    catchPhrase: "Multi-layered client-server neural-net",
    bs: "harness real-time e-markets",
  },
};

Challenging

  • Console the value of email
  • Console the value of address
  • Console the value of city
  • Console the value of lat
  • Console the value of company name