Menu
×
×
Correct!
Exercise:Create an object called person with name = John, age = 50.
var person @(1) {
name@(1) "John", age@(1) 50
};
alert(@(11) + " is " + @(10));
var person = {
name: "John", age: 50
};
alert(person.name + " is " + person.age);
Not CorrectClick here to try again. Correct!Next ❯ |
This will reset the score of ALL 67 exercises.
Are you sure you want to continue?