Need Help with Objects Please

const myDog = {

// Only change code below this line

var myDog = {

"name": "Ralph",

"legs": "3",

"tails": "1",

"friends": ["Amy", "Ben"]

};

//Not sure what I'm doing wrong, thanks.

Please share your full code. It looks like only part of your code came over in the post. Thanks!

Edited, sorry about that

1 Like

Why u have 2 myDogs objects ?

Not sure, it just said not to change anything above the line, so I left it as it was :man_shrugging:

But where did this come from? It’s not part of the example.

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