From f80a67e248336dee28cbfd5f5ba0e08c8d3925db Mon Sep 17 00:00:00 2001 From: KartikeeChaudhari Date: Wed, 3 Jul 2024 09:25:09 +0530 Subject: [PATCH] Delete index.js --- index.js | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 index.js 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* -} -*/