I am stuck on the 5th exercise of this section and i can't understand the error even though i seem to have coded correctly



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";

// print the value of the first property of "james" 
// using the variable "aProperty"


how is this a solution to my problem???


Haha... I only withdrew my post. I couldn't identify any issue with the code. :slight_smile: See screenshot.

No offence. :slight_smile:


Lol.... finally worked out for me too... same code.... :stuck_out_tongue: still didn't understand the error though :smiley:


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