From 11a73d8bfd977da1ebe5b3ee78160a9ce000255e Mon Sep 17 00:00:00 2001 From: Mike Date: Mon, 5 May 2025 15:24:54 -0400 Subject: [PATCH 1/3] saturdayFun displaying the fun activity --- index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index c44a93222..c519d573f 100644 --- a/index.js +++ b/index.js @@ -1 +1,3 @@ -// code your solution here +const saturdayFun = (funActivity = 'roller-skate') => { + return `This Saturday, I want to ${funActivity}!` +} \ No newline at end of file From ed70572c4e04aa12f82ebcb5c3ca3072b70cce07 Mon Sep 17 00:00:00 2001 From: Mike Date: Mon, 5 May 2025 15:35:48 -0400 Subject: [PATCH 2/3] mondayWork returning correct string --- index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/index.js b/index.js index c519d573f..2294485c7 100644 --- a/index.js +++ b/index.js @@ -1,3 +1,7 @@ const saturdayFun = (funActivity = 'roller-skate') => { return `This Saturday, I want to ${funActivity}!` +} + +const mondayWork = function (activity = "go to the office") { + return `This Monday, I will ${activity}.` } \ No newline at end of file From c5b38f8147c2300c2255e67d28b1e58f79249f7b Mon Sep 17 00:00:00 2001 From: Mike Date: Mon, 5 May 2025 16:06:24 -0400 Subject: [PATCH 3/3] wrapAdjective correctly logs string --- index.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/index.js b/index.js index 2294485c7..454820fa1 100644 --- a/index.js +++ b/index.js @@ -4,4 +4,10 @@ const saturdayFun = (funActivity = 'roller-skate') => { const mondayWork = function (activity = "go to the office") { return `This Monday, I will ${activity}.` +} + +const wrapAdjective = (whateverYouLike = "*") => { + return (howeverYouWish = "special") => { + return `You are ${whateverYouLike + howeverYouWish + whateverYouLike}!`; + } } \ No newline at end of file