scrimba
Learn Basic JavaScript
Updating Object Properties
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

Updating Object Properties
AboutCommentsNotes
Updating Object Properties
Expand for more info
index.js
run
preview
console
// Example
var ourDog = {
"name": "Camper",
"legs": 4,
"tails": 1,
"friends": ["everything!"]
};

ourDog.name = "Happy Camper";

// Setup
var myDog = {
"name": "Coder",
"legs": 4,
"tails": 1,
"friends": ["freeCodeCamp Campers"]
};

// Only change code below this line.

Console
index.html
-0:52