Please provide response in Javascript. Call the favoriteFruit function with parameter "watermelon". function favoriteFru
Posted: Mon Jun 06, 2022 2:19 pm
Please provide response in Javascript.
Call the favoriteFruit function with parameter "watermelon".
function favoriteFruit(myFruit) {
console.log("My favorite fruit is " + myFruit +
".");
}
/* Your solution goes here */
Call the favoriteFruit function with parameter "watermelon".
function favoriteFruit(myFruit) {
console.log("My favorite fruit is " + myFruit +
".");
}
/* Your solution goes here */