Who's in Your Bracket?


#1

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

error ------Oops, try again. It looks like james' job was not logged to the console.


#2

Remove the space from around job like this: "job"


#3

A post was split to a new topic: Who’s in Your Bracket?


#4

A post was split to a new topic: 5.Who’s in Your Bracket?