Skip to content

Commit d933572

Browse files
committed
removed console logs from count.js
1 parent 2beffba commit d933572

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Sprint-3/2-practice-tdd/count.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ function countChar(stringOfCharacters, findCharacter) {
1515
}
1616
if (stringOfCharacters.length === 0) {
1717
return 0;
18-
}
19-
console.log(Array.from(stringOfCharacters));
20-
18+
}
2119
return Array.from(stringOfCharacters).filter(char => char === findCharacter).length;
2220
}
2321

0 commit comments

Comments
 (0)