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