Ask Question
30 July, 10:41

What does the following code alert? var person = { name: "Mike", age: 25, favoriteFood: "pizza" }; alert ("My best friend's name is" + person. name + ", he's " + person. age + " years old and his favorite food is " + person. favoriteFood);

· My best friend's name isMike, he's 25 years old and his favorite food is pizza

· My best friend's name is Mike, he's 25 years old and his favorite food is pizza.

· My best friend's name isMike, he's 25 years old and his favorite food is pizza.

· My friend's best name isMike, he's 25 years old and his favorite food is pizza.

+4
Answers (1)
  1. 30 July, 12:52
    0
    My best friend's name isMike, he's 25 years old and his favorite food is pizza
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “What does the following code alert? var person = { name: "Mike", age: 25, favoriteFood: "pizza" }; alert ("My best friend's name is" + ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers