Skip to content

Commit 58000c1

Browse files
committed
console logs added
1 parent d906c91 commit 58000c1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Sprint-1/destructuring/exercise-2/exercise.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ function findGryffindor(peopleList) {
8383
});
8484

8585
const output = peopleNames.join("\n");
86-
86+
console.log("People in Gryffindor House", output);
8787
return output;
8888
}
8989

@@ -99,6 +99,6 @@ function findTeachersWithPets(peopleList) {
9999
});
100100

101101
const output = teachersName.join("\n");
102-
102+
console.log("Teachers with pets", output);
103103
return output;
104104
}

0 commit comments

Comments
 (0)