From d08f49a58940bc082e2c4d80f7812794e3afcc50 Mon Sep 17 00:00:00 2001 From: Liam Simmons Date: Mon, 6 May 2024 14:50:57 -0400 Subject: [PATCH] Add functions to index.js --- index.js | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index c44a93222..da669440b 100644 --- a/index.js +++ b/index.js @@ -1 +1,15 @@ -// code your solution here +function saturdayFun(activity = 'roller-skate'){ + return `This Saturday, I want to ${activity}!` +} + +const mondayWork = function(activity = 'go to the office'){ + return `This Monday, I will ${activity}.` +} + +function wrapAdjective(flair){ + const encouragingPromptFunction = function(adjective = 'special'){ + return `You are ${flair}${adjective}${flair}!` + } + return encouragingPromptFunction +} +