We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 282246f commit 59f3869Copy full SHA for 59f3869
Sprint-1/destructuring/exercise-1/exercise.js
@@ -6,7 +6,7 @@ const personOne = {
6
7
// Update the parameter to this function to make it work.
8
// Don't change anything else.
9
-function introduceYourself(___________________________) {
+function introduceYourself({ name, age, favouriteFood }) {
10
console.log(
11
`Hello, my name is ${name}. I am ${age} years old and my favourite food is ${favouriteFood}.`
12
);
0 commit comments