Question: Which statement describes the code below? var Michael = { age: 28, country: United States }; A. Michael is a valid JavaScript object with two
Which statement describes the code below?
var Michael = {
age: 28,
country: United States
};
A. Michael is a valid JavaScript object with two properties, age and country
B. Michael is an incomplete JavaScript object with two properties, age and country
C. Michael is an valid JavaScript object with two sub objects, age and country, embedded inside it
D. Michael is an invalid JavaScript object, as it does not contain any functions or return statements
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
