File tree 2 files changed +71
-0
lines changed
2 files changed +71
-0
lines changed Original file line number Diff line number Diff line change
1
+ /*
2
+ ### Challenging
3
+
4
+ Console the value of email
5
+ Console the value of address
6
+ Console the value of city
7
+ Console the value of lat
8
+ Console the value of company name
9
+ */
10
+
11
+
12
+ const user = {
13
+ id : 1 ,
14
+ name : "Leanne Graham" ,
15
+ username : "Bret" ,
16
+ email : "Sincere@april.biz" ,
17
+ address : {
18
+ street : "Kulas Light" ,
19
+ suite : "Apt. 556" ,
20
+ city : "Gwenborough" ,
21
+ zipcode : "92998-3874" ,
22
+ geo : {
23
+ lat : "-37.3159" ,
24
+ lng : "81.1496" ,
25
+ } ,
26
+ } ,
27
+ phone : "1-770-736-8031 x56442" ,
28
+ website : "hildegard.org" ,
29
+ company : {
30
+ name : "Romaguera-Crona" ,
31
+ catchPhrase : "Multi-layered client-server neural-net" ,
32
+ bs : "harness real-time e-markets" ,
33
+ } ,
34
+ } ;
35
+
Original file line number Diff line number Diff line change
1
+ ## Practice Problem 53: ` Access Object Values `
2
+
3
+ ```
4
+ const user = {
5
+ id: 1,
6
+ name: "Leanne Graham",
7
+ username: "Bret",
8
+ email: "Sincere@april.biz",
9
+ address: {
10
+ street: "Kulas Light",
11
+ suite: "Apt. 556",
12
+ city: "Gwenborough",
13
+ zipcode: "92998-3874",
14
+ geo: {
15
+ lat: "-37.3159",
16
+ lng: "81.1496",
17
+ },
18
+ },
19
+ phone: "1-770-736-8031 x56442",
20
+ website: "hildegard.org",
21
+ company: {
22
+ name: "Romaguera-Crona",
23
+ catchPhrase: "Multi-layered client-server neural-net",
24
+ bs: "harness real-time e-markets",
25
+ },
26
+ };
27
+
28
+ ```
29
+
30
+ ### Challenging
31
+
32
+ - Console the value of ` email `
33
+ - Console the value of ` address `
34
+ - Console the value of ` city `
35
+ - Console the value of ` lat `
36
+ - Console the value of ` company name `
You can’t perform that action at this time.
0 commit comments