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


#1


im stuck


Replace this line with your code. 
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]);


#2

Running this code on an external console, prints programmer. Please, could you supply link to this exercise?

Thank you! :slight_smile:


#3

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


#4

fixed it all i did was refresh it


#5

Okay.

Thought as much. Because, as I said, it logged programmer to the console. :slight_smile:


#6

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