5. Who's in your Bracket?


Need Help, my code works but it is saying I have done it wrong and I am getting an error,
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"

This is what I wrote, here is a screenshot of what it is saying :stuck_out_tongue:
^^Bad quality but you can understand it^^

Thanks :confused:


aProperty should equal "job", then you should print to the console (using console.log) james[aProperty]