Whats wrong here?



The error message says, "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"


Code is fine, probably a small glitch with your browser.

  • Try refreshing the page
  • Try restarting your browser
  • Try using another browser
  • Try logging out / back in


Thank you. It worked after signing out and then again signing in.


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