30.What are objects for?


#1



https://www.codecademy.com/en/courses/spencer-sandbox/5/1?curriculum_id=506324b3a7dffd00020bf661#


Replace this line with your code.


#2

Please post your code so we can help you accordingly:


#3

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.


#4

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


#5

Thanks!

Let me try it