Assignment #1 Unexpected toke {


Not sure what is wrong with my syntax. Ive done a number of things in tring to rearrange it but seem to keep getting same "Unexpected Identifier" error.

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!
var gabby = new Object(Person)
this.job = "Student",
this.married = true,


gabby is a new PERSON, not object. Also no parameters for it.