5/30 Who's in your brackets


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”


Why no work? :crying_cat_face:


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