16: Editing an existing object


#1


https://www.codecademy.com/courses/javascript-beginner-en-9Sgpi/3/3?curriculum_id=506324b3a7dffd00020bf661#


It displays:
Oops, try again. Did you give your interests key an array value?

But, I did! Please Help!

var myObject = {
  name: 'Eduardo',
  type: 'Most excellent',
  interests: 'running'  
};


#2

Given your code, you gave interests a string value, not an array...


#3

OHHHHHHHHH!!! Ah.hahahaha...... oops. Thanks!


#4

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