Respuesta :

In this example, we simply have to call the function.

favoriteFruit("pineapple");

Your output will be "My favorite fruit is pineapple."