1/30 "Parser Error"


#1

Can you please tell me what I did wrong? I am not sure.
Here is my code:

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

};

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

var gabby = new Person("student",true);


#2

Try removing the exra };<----- in the middle of your code and see if it works.


#3

Thanks a lot it worked