Was the bug in 30/33 ever resolved?


#1

Hi guys,

I see that this has been an issue in the past and it looks like it still needs to be rectified. I've done the following code:

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

But keep getting the message to use the object constructor. Looking through past questions in the forum it looks like this code is correct but seems to have a bug in it; one guy even said that this code didn't work one day but worked the following day. Is there anyway that I can change my code so I can move on?

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


#2

object() shouldn't have any spaces in it


#3

It's always the little things that get me! Thank you, it works now.


#4