Bug in exercise 5


My code in this exercise kept throwing an error, despite being correct. I left the exercise and came back. My code was still there and I submitted it again, this time successfully (without changing it). I just wanted to point out the apparent bug so it could be corrected.


The error is gone, so I can't copy and paste or recite it word-for-word, but it said that I failed to log James's job to the console.

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

// set to the first property name of "james"
var aProperty = "job"


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