This is simple code and it shoud work but it doesnt?


this is my error "Oops, try again. Make sure james has a job property with 'programmer' as the value"
and there is my code. i do everything right!

var james = {
    // add properties to this object!
    job: 'programmer',
    married: false

function Person(job, married) {
    this.job = job;
    this.married = married;

// create a "gabby" object using the Person constructor!
new gabby = new Person("student", true);


Finally! Its a simple mistake change new gabby to var gabby! That is a strange error though. It wan't helpful at all.