Skip to content

Commit 26cfa38

Browse files
authored
Merge pull request #1 from EasyCode-JavaScriptReact-v1/homework_1
Homework 1
2 parents 3492849 + 6bd77dd commit 26cfa38

File tree

1 file changed

+22
-0
lines changed
  • js-core/homeworks/homework-1/src

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
let user = {
2+
surname: 'Бутенко',
3+
name: 'Наталья',
4+
phoneNumber: {
5+
homePhone: 111111111111,
6+
workPhone: [222222222222, 333333333]
7+
},
8+
9+
address: {
10+
country: 'Украина',
11+
city: 'Харьков',
12+
street: 'Валентиновская',
13+
house: 11,
14+
apartment: undefined,
15+
},
16+
avatarChecked: false,
17+
job: null
18+
}
19+
20+
console.log(user);
21+
console.log(user.name / user.homePhone);
22+
console.log(user.address.house / 0);

0 commit comments

Comments
 (0)