From 5132f8a57474636e9aa5e28a9cb080acb224e623 Mon Sep 17 00:00:00 2001 From: Iris Beckham Date: Thu, 27 Apr 2023 10:49:41 -0400 Subject: [PATCH] Updated index.js to match my information --- index.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/index.js b/index.js index cd6e45d..591b184 100644 --- a/index.js +++ b/index.js @@ -3,14 +3,14 @@ console.log("Hey you! Yeah you! Awesome Developer! You're doing Great Fam! 💪 const meObj = { - name: "Sam", - hometown: "The Boogie-Down - BX 🙅🏾‍♂️", - favoriteColors: ["gold", "navy blue", "forest green", "red"] + name: "Iris", + hometown: "the DMV", + favoriteColors: ["yellow", "blue", "lavender"] } function introduceMe (personObj){ - // print out: "Hi, my name is {your name}, and I'm from {your hometown}" - - // print out: "My favorite colors are {your favorite colors}" + return `Hi, my name is ${personObj.name}, and I'm from ${personObj.hometown} \n My favorite colors are ${personObj.favoriteColors.join(" and ")}`; } + +console.log(introduceMe(meObj)); \ No newline at end of file