Solución
solution.tsTypeScript
export function countWordsEndingWithVowel(words: string[]): number {
return words.filter(word => word.match(/[aeiou]$/i)).length;
}0respuestas
export function countWordsEndingWithVowel(words: string[]): number {
return words.filter(word => word.match(/[aeiou]$/i)).length;
}Aún no hay respuestas
¡Sé el primero en responder!
Recuerda ser amable. Estás comentando la solución de otra persona. Comparte tu perspectiva de forma constructiva y respetuosa.