In this example, we simply have to call the function.
favoriteFruit("pineapple");
Your output will be "My favorite fruit is pineapple."
8.5m questions
11.1m answers