Build JavaScript Objects
Summary
- Objects are simular to
arrays
but use properties
to access data, rather than an index.
Final Code
var myDog = {
// Only change code below this line
name: "dog",
legs: 4,
tails: 1,
friends: ["max", "lucy", "pup"]
// Only change code above this line
};