5/30 Who's in your brackets


#1

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);

Why no work? :crying_cat_face:


#2

var aProperty = "job" (this is in refrence to the job property within your james object, but it acts globally)
james[aProperty] should yield the value of the property job within james