Who's in Your Bracket?


#1


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


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

// set to the first property name of "james"
var aProperty = "job";
james[aProperty];
// print the value of the first property of "james" 
// using the variable "aProperty"

console.log (aProperty);


#2

Never mind it worked after I refreshed the page...


#3

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