Skip to content

Commit c7fbac3

Browse files
problem 52 initialization complted
1 parent df61433 commit c7fbac3

File tree

2 files changed

+46
-0
lines changed

2 files changed

+46
-0
lines changed

Diff for: problem52/problem52.js

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
2+
/*
3+
let data = {
4+
location:[
5+
{
6+
latitude: '34.5, 37.8',
7+
longitude:'98.77, 58.7',
8+
city: 'Hyderabad',
9+
country: 'India',
10+
}
11+
]
12+
};
13+
14+
15+
Console the value of city
16+
17+
*/
18+
19+
20+
21+
let data = {
22+
location:[
23+
{
24+
latitude: '34.5, 37.8',
25+
longitude:'98.77, 58.7',
26+
city: 'Hyderabad',
27+
country: 'India',
28+
}
29+
]
30+
};

Diff for: problem52/problem52.md

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
## Practice Problem 52: `Access Object values`
2+
3+
4+
```
5+
let data = {
6+
location:[
7+
{
8+
latitude: '34.5, 37.8',
9+
longitude:'98.77, 58.7',
10+
city: 'Hyderabad',
11+
country: 'India',
12+
}
13+
]
14+
};
15+
```
16+
### Console the value of `city`

0 commit comments

Comments
 (0)