Who's in Your Bracket? (SOLVED)


What's wrong with this code? I don't understand:

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

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

// print the value of the first property of "james" 
// using the variable "aProperty"



Please, post error message. Your code looks good for me.


Maybe you have to remove extra space on line 7?


Also tried removing the space


I've tried your code and it works. Try refresh browser and pass this lesson once more.


Refreshing the page didn't work but closing and re-opening did.
Thank you


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.