freeCodeCamp Challenge Guide: Updating Object Properties

freeCodeCamp Challenge Guide: Updating Object Properties
0

Updating Object Properties


Hints

Hint 1

Use dot ** . ** notation to access the object property.


Solutions

Solution 1 (Click to Show/Hide)
// Setup
var myDog = {
  name: "Coder",
  legs: 4,
  tails: 1,
  friends: ["freeCodeCamp Campers"]
};

// Only change code below this line.

myDog.name = "Happy Coder"; // Solution