5.Who's in Your Bracket?


#1


https://www.codecademy.com/courses/objects-ii/0/5?curriculum_id=506324b3a7dffd00020bf661


Im stuck and i dont know what to do. please help!


var james = {
job: "programmer",
married: false
};

// set to the first property name of "james"
var aProperty = james["job"];

// print the value of the first property of "james" 
// using the variable "aProperty"
console.log(aProperty);


#2

Simple mistake, you are not setting it to the object's key but it's value,

var aProperty = "programmer";
james[aProperty];

#5