10. Another Way to Create


// Make a new susan2 object, using a constructor instead
var susan2 = new Object();
susan2.name = "Susan Jordan";
susan2.age = 24;

Can you please help me find the mistake? I tried susan2.name = 'Susan Jordan'; as well, but it still says "Oops, try again. There was a problem with your syntax.".

Thank you in advance.

10. Another way to create - Syntax error

The closing curly bracket and semi colon is stray [remove it]

If you still get an error copy all of your code and paste it in here


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