Skip to content

Commit 60ec387

Browse files
sprint 3 task 3 exercise 3 completed
1 parent 4efcaf7 commit 60ec387

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

Sprint-3/3-dead-code/exercise-2.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// The countAndCapitalisePets function should continue to work for any reasonable input it's given, and you shouldn't modify the pets variable.
33

44
const pets = ["parrot", "hamster", "horse", "dog", "hamster", "cat", "hamster"];
5-
const capitalisedPets = pets.map((pet) => pet.toUpperCase());
65
const petsStartingWithH = pets.filter((pet) => pet[0] === "h");
76

87
function logPets(petsArr) {

0 commit comments

Comments
 (0)