An Objective Review 1/30


I am pretty sure this is supposed to work but it just doesn’t. Can someone please take a look. Thanks in advance!!

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 = {
job = “student”,
married = true

when i try to pass it says:
Oops, try again. There was a problem with your syntax.



Create gabby with the Person Constructor.Remember an instance from an object looks like this:

var instanceName = new ObjectName(optional parameters to input);


but even like that it still dosen’t work



We are not trying to create gabby instance like this. We create it using Person constructor.

This thing is called a quote. I quoted something you said in your post so you can find yourself and understand what I am talking about.