30.What are objects for?

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>
https://www.codecademy.com/en/courses/spencer-sandbox/5/1?curriculum_id=506324b3a7dffd00020bf661#

<In what way does your code behave incorrectly? Include ALL error messages.>

```

Replace this line with your code.

<do not remove the three backticks above>

Please post your code so we can help you accordingly:

Hey There !

My code looks like this:

// make spencer2 here with constructor notation

var spencer2 = new Object ();
spencer2.age = 22 ;
spencer2.country = “United States” ;

I don’t know what is really wrong .
How I got that this is Object Constructor.

You are writing “new Object ()” and it should be “new Object()”, no space between the word “Object” and the parentheses.

2 Likes

Thanks!

Let me try it