Wierd Problem



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

The console says exactly what it should say.

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"


If the console shows programmer then it will appear correct, however it is not what the instructions ask for.


should output job so that,


will output, programmer.


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