Skip to content

Commit fe34af4

Browse files
problem 53 initialization completed
1 parent 3d70430 commit fe34af4

File tree

2 files changed

+71
-0
lines changed

2 files changed

+71
-0
lines changed

problem53/problem53.js

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
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+

problem53/problem53.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
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`

0 commit comments

Comments
 (0)