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)
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.
Home » Computers & Technology » 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.