Help on 8 accessing properties


#1

var bob = {
nom: "Bob Smith",
age: 30
};
var susan = {
nom: "Susan Jordan",
age: 25
};
// Ici, nous enregistrons les informations sur Bob
var nom1 = bob.nom;
var age1 = bob.age;
// Terminez le code en enregistrant les informations sur Susan
var nom2 =susan.nom;
var age2 =susan.age;


#2

var bob = {
name: "Bob Smith",
age: 30
};
var susan = {
name: "Susan Jordan",
age: 25
};
// here we save Bob's information
var name1 = bob.name;
var age1 = bob.age;
// finish this code by saving Susan's information
var name2 = susan.name;
var age2 = susan.age;