5. Who's in Your Bracket?


#1

https://www.codecademy.com/courses/objects-ii/0/5?curriculum_id=506324b3a7dffd00020bf661#

Oops, try again. Do you have the variable 'aProperty' between brackets?


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


#2

Based on the your code to achieve the desired result you should set the aProperty variable to a string, "programmer" by using dot notation james.job bracket notation can only be used if you use the value in question.


#3

done ................................. thankyou


#4