diff --git a/index.js b/index.js deleted file mode 100644 index f90b9de..0000000 --- a/index.js +++ /dev/null @@ -1,30 +0,0 @@ -/* -Modify "personInfo" function to match console.log output at the end of the challenge. - -Object that is returned by "personInfo" function must contain only shorthand property names. -*/ - -const personInfo = (/* parameters */) => { - /* return ... */ -}; - -const person = { - name: "Alice", - age: 19, - location: { - country: "England", - city: "London" - } -}; - -console.log(personInfo(person)); -/* -{ - name: "Alice", - personAge: 19, - origin: "England", - homeCity: "London", - friendsQty: 0, - recordCreatedAt: *current year* -} -*/