Basic JavaScript - Updating Object Properties

Tell us what’s happening:
Update the myDog object’s name property. Let’s change her name from Coder to Happy Coder . You can use either dot or bracket notation.

myDog.name = ‘Happy Coder’

bruh ???

Your code so far

// Setup
const myDog = {
  "name": "Coder",
  "legs": 4,
  "tails": 1,
  "friends": ["freeCodeCamp Campers"]
};
myDog.name = 'Happy Coder'
// Only change code below this line

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36

Challenge: Basic JavaScript - Updating Object Properties

Link to the challenge:

is this like jeopardy?

Move your code below the line as requested by the comment

1 Like