logo
logo

Make Sandwich

Make Sandwich

Create a function called
makeSandwich
that takes two parameters:
breadType
and
fillingType
. If
breadType
is not provided, it should default to "wheat". If
fillingType
is not provided, it should default to "ham and cheese". The function should return a string that says "Here is your [breadType] sandwich with [fillingType]. Enjoy!"
Console
Submit
Solution
00:00