12 semicolon error need a hand


#1


var object1 = {
    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

The space between inmate and id is probably giving you the error. Use an underscore instead.

var object1 = {
    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"
};

#3

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