Another way to create - constructor


#1


It says I have a syntax error? I know it is probably something silly :stuck_out_tongue: but I need help!!!
The syntax error is Unexpected Token :


// Our bob object again, but made using a constructor this time 
var bob = new Object();
bob.name = "Bob Smith";
bob.age = 30;
// Here is susan1, in literal notation
var susan1 = {
  name: "Susan Jordan",
  age: 24
};
var susan2 = new Object();
    susan2.name: = "Susan Jordan";
    susan2.age: = 24;
    };


#2

Remove the colons from these two lines so they read like statements. They needn't be indented since they are not nested. Remove the };