File tree Expand file tree Collapse file tree 2 files changed +56
-0
lines changed Expand file tree Collapse file tree 2 files changed +56
-0
lines changed Original file line number Diff line number Diff line change
1
+
2
+
3
+ ## Problem 55:
4
+
5
+ ```
6
+ let data = {
7
+ Sophia: {
8
+ id: 33,
9
+ study: [
10
+ {
11
+ primary: [
12
+ { school_name: "ABC primary school" },
13
+ { location: "Peters burg" },
14
+ ],
15
+ },
16
+ {
17
+ secondary: [
18
+ { school_name: "ABC secondary school" },
19
+
20
+ { location: "St Lorence" },
21
+ ],
22
+ },
23
+ ],
24
+ },
25
+ };
26
+
27
+ ```
28
+
29
+ ### How will you access Sophia’s secondary school location?
Original file line number Diff line number Diff line change
1
+
2
+
3
+
4
+ /* How will you access Sophia’s secondary school location? */
5
+
6
+ let data = {
7
+ Sophia : {
8
+ id : 33 ,
9
+ study : [
10
+ {
11
+ primary : [
12
+ { school_name : "ABC primary school" } ,
13
+ { location : "Peters burg" } ,
14
+ ] ,
15
+ } ,
16
+ {
17
+ secondary : [
18
+ { school_name : "ABC secondary school" } ,
19
+
20
+ { location : "St Lorence" } ,
21
+ ] ,
22
+ } ,
23
+ ] ,
24
+ } ,
25
+
26
+ } ;
27
+
You can’t perform that action at this time.
0 commit comments