Who's in Your Bracket? isn't working


#1

What's wrong with this code? It looks fine to me.

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"
console.log(james[aProperty]);


#3

What browser are you using? You have to use Chrome in order for it to work. Check that and reply with feedback. But please look at the link above.


#4

What browser am I using?

I'm using Chrome Version 47.0.2526.106 m


#5

Umm? Can you try refreshing it? Other than that i dont know. Sorry. :frowning:


#6

Weird, now it worked. I don't know what happened, but it's now resolved. Strange.


#7

Worked after refreshing !