Skip to content

commit tree 53f5f1afe57bf9e6f101dd26e783243b7f377727 #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
Next Next commit
Done.
  • Loading branch information
kelvin-munene committed Jun 9, 2022
commit be4cba6ff7ec370e132cc75a6482b1e7d0430ae8
16 changes: 16 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -1 +1,17 @@
// code your solution here

function saturdayFun(msg='roller-skate'){
return `This Saturday, I want to ${msg}!`
};
saturdayFun('bathe my dog');

function mondayWork(message='go to the office'){
return `This Monday, I will ${message}.`
};
mondayWork('work from home');

function wrapAdjective(msg='*'){
return function (txt='special'){
return `You are ${msg}${txt}${msg}!`
}
}
Loading