Skip to content

Commit df08be5

Browse files
committed
C to c
1 parent 1cb231d commit df08be5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ const totalCount=stringOfCharacters.split("");
33
Count=0
44
for(i=0; i<totalCount.length; i++){
55
if(totalCount[i]===findCharacter){
6-
Count++
6+
count++
77
}
88
}
9-
return Count
9+
return count
1010
}
1111
console.log(countChar("aaaa","a"))
1212
module.exports = countChar;

0 commit comments

Comments
 (0)