diff --git a/js-core/homeworks/homework-1/src/main.js b/js-core/homeworks/homework-1/src/main.js index a24f7b6..8b13789 100644 --- a/js-core/homeworks/homework-1/src/main.js +++ b/js-core/homeworks/homework-1/src/main.js @@ -1,24 +1 @@ -var user = { - name:['firstName','secondName','nickName'], - placeOfWork:{ - company:null, - position:null - }, - phone:{ - mobile:['111111','222222'], - home:['333333'], - work:[,'444444'] - }, - email: undefined, - chat: null, - location:{ - city: 'Kharkiv', - street:null, - home: null, - apartment:201 - }, - rington:[true,false], -}; -console.log(user); -console.log(typeof user.phone.work[0]); -console.log(typeof user.phone.work[1]); +