Skip to content

Commit 5b0d79f

Browse files
still working
1 parent b1cabfb commit 5b0d79f

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

objects-and-math/exercises/ObjectExercises.js

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,36 @@ let salamander = {
1212
age: 5
1313
};
1414

15+
let superChimpTwo = {
16+
name: "Brad",
17+
species: "Chimpanzee",
18+
mass: 11,
19+
age: 6,
20+
astronautID: 3,
21+
move: function () {return Math.floor(Math.random()*11)}
22+
};
23+
24+
let dog = {
25+
name: "Leroy",
26+
species: "Beagle",
27+
mass: 14,
28+
age: 5,
29+
astronautID: 4,
30+
move: function () {return Math.floor(Math.random()*11)}
31+
};
32+
33+
let waterBear = {
34+
name: "Almina",
35+
species: "Tardigrade",
36+
mass: 0.0000000001,
37+
age: 1,
38+
astronautID: 5,
39+
};
40+
41+
let crew = [superChimpOne, superChimpTwo, salamander, dog, waterBear];
42+
43+
44+
let crew = [superChimpOne, superChimpTwo, salamander, dog, waterBear];
1545

1646
// After you have created the other object literals, add the astronautID property to each one.
1747

0 commit comments

Comments
 (0)