The example doesn't have a parenthesis around the the examples made with the object constructor . I get the parenthesis error code though. ? How do I isolate it?


#1

exercise 12 practice makes perfect

    offender:"Sam";
    inmate id:34;
}
var object2 = new Object();
    object2["conquest"]= "The world";
    object2["Sword"] = "Excalibur";
    object2["Bird"] = "Falcon";

 var object3 = {
     status:"wealthy";
     mentality:"unstable";
}

};




Replace this line with your code. 



#2

 var object3 = {
     status:"wealthy",
     mentality:"unstable"
}

You used semicolons instead of a comma


#3

thanks and I'm getting the semicolon error now I thought that would do it and I checked my semicolons and they're the right ones.


#4

I would need to see your entire code. I'm betting there's more errors like the one I showed you;


#5

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