Skip to content

Commit 01bd2b4

Browse files
problem 53 solved
1 parent fe34af4 commit 01bd2b4

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

problem53/problem53.js

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,22 @@ const user = {
3232
bs: "harness real-time e-markets",
3333
},
3434
};
35-
35+
36+
const emailOfUser = user.email;
37+
const userAddres = user.address;
38+
const userCity = user.address.city;
39+
const userGeoLat = user['address']['geo']['lat'];
40+
const userCompany = user.company['name'];
41+
42+
console.log(userAddres);
43+
const totalOutput = `
44+
1. User email is ${emailOfUser}
45+
2. User address is ${userAddres}
46+
3. User city is ${userCity}
47+
4. User lat is ${userGeoLat}
48+
5. User company is ${userCompany}
49+
50+
`;
51+
52+
53+
console.log(totalOutput);

0 commit comments

Comments
 (0)