Therefore, I need to write the plusLettuce function, which takes one parameter as an argument, and the function should return a string with the argument and the phrase "plus salad". So I guess if I type plusLettuce ("Onion"); in my console I should get "Onion plus Salad" as my output.
This is what I have so far .. so I wrote my function with a parameter, and I'm confused what to do next. (I'm sorry noon) Can I make a variable word? I just got stuck on what my next step should be. Please help.
var plusLettuce = function(word) {
var word =
}
source
share