Editing an existing object


#1

var myObject = {
name: 'Eduardo',
type: 'Most excellent',
// Add your code here!
interests: 'Programming'
};

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

I'm sorry, but I do not understand what is wrong


#2

I am having the same exact same problem, did you get it fixed?


#3

I got it fixed,

var myObject = {
name: 'Eduardo',
type: 'Most excellent',
interests:["Programming", "Money"],
};

//You need to give the interests an array value in the format of "[]"


#4

Oh, well, it has solved the problem, earler it showed the wrong, some glitch


#5

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