Mode entretien. Minuteur de 5 min, sans indices ni autocomplétion
Remove vowels
FacileStrings5 min
Write a function removeVowels(text) that returns the string without the vowels a, e, i, o, u. Capital vowels go too. Every other character stays where it was.
Exemples
removeVowels('automation')Renvoie 'tmtn'
removeVowels('Hello World')Renvoie 'Hll Wrld'
removeVowels('QA')Renvoie 'Q'
Posé chez EQ Technologic · Source
Chargement de l'éditeur...
- Entrée
removeVowels('automation')Attendu'tmtn' - Entrée
removeVowels('Hello World')Attendu'Hll Wrld' - Entrée
removeVowels('QA')Attendu'Q'
Les tests cachés se lancent à la soumission