Solución
solution.tsTypeScript
export function countLetter(text: string, letter: string): number {
let count = 0;
for(let l of text) {
if(letter.toLowerCase() === l.toLowerCase()){
count += 1;
}
}
return count;
}0respuestas