Ask Question
6 February, 08:49

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.

+3
Answers (1)
  1. 6 February, 11:33
    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?
Find 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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers