30. What Are Objects For. Am I blind or it's bug?


#1

<PLEASE USE THIS 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/courses/spencer-sandbox/5/1?curriculum_id=506324b3a7dffd00020bf661#

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>
Am I blind or it’s bug?
Oops, try again. Make sure that spencer and spencer2 have the same value for age.

```

var spencer = {
age: 22,
country: “United States”
};

// make spencer2 here with constructor notation
var spencer2 = new Object();
spencer.age = 22;
spencer.country = “United States”;

<do not remove the three backticks above>

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

#2

Did you mean to write, spencer2?


#3

I’m blind. Sorry)
Thanks a lot!


#4

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