Skip to content

Commit 935dc0b

Browse files
committed
improved formatting
1 parent e8e1231 commit 935dc0b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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

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

8585
const output = peopleNames.join("\n");
86-
console.log("People in Gryffindor House", output);
86+
console.log("People in Gryffindor House:");
87+
console.log(output);
8788
return output;
8889
}
8990

0 commit comments

Comments
 (0)