Skip to content
This repository was archived by the owner on Aug 5, 2021. It is now read-only.

Hiba-WK3-JavaScript-Core3-HW #40

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Mandatory-2-Exercises-1-Exercise-1-Done
  • Loading branch information
Hiba-moh committed Sep 14, 2020
commit 003349e73cc5022b734d13fec51a19a37d9fc44f
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ const personOne = {
favouriteFood: 'Spinach'
}

function introduceYourself(___________________________) {

function introduceYourself({name,age,favouriteFood}) {
console.log (`Hello, my name is ${name}. I am ${age} years old and my favourite food is ${favouriteFood}.`);
}

Expand Down