From 853dc10862802ce58bba851ea046538cc27994af Mon Sep 17 00:00:00 2001 From: Emily Kanarek Date: Mon, 5 May 2025 16:05:50 -0400 Subject: [PATCH 1/2] Implement saturdayFun function --- index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index c44a93222..8d19bc8ad 100644 --- a/index.js +++ b/index.js @@ -1 +1,3 @@ -// code your solution here +function saturdayFun(activity = "roller-skate") { + return `This Saturday, I want to ${activity}!` +} \ No newline at end of file From d76f72ed124e106ff3dd1b9232024e65f8b69e37 Mon Sep 17 00:00:00 2001 From: Emily Kanarek Date: Mon, 5 May 2025 16:45:41 -0400 Subject: [PATCH 2/2] Implement wrapAdjective function --- index.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/index.js b/index.js index 8d19bc8ad..485d4a91c 100644 --- a/index.js +++ b/index.js @@ -1,3 +1,13 @@ function saturdayFun(activity = "roller-skate") { return `This Saturday, I want to ${activity}!` +} + +function mondayWork(activity = "go to the office") { + return `This Monday, I will ${activity}.` +} + +function wrapAdjective(flair = "*") { + return function(adj = "special") { + return `You are ${flair}${adj}${flair}!`; + } } \ No newline at end of file