Modo entrevista. Cronômetro de 5 min, sem dicas e sem autocompletar
Remove vowels
FácilStrings5 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.
Exemplos
removeVowels('automation')Retorna 'tmtn'
removeVowels('Hello World')Retorna 'Hll Wrld'
removeVowels('QA')Retorna 'Q'
Cobrada em EQ Technologic · Fonte
Carregando o editor...
- Entrada
removeVowels('automation')Esperado'tmtn' - Entrada
removeVowels('Hello World')Esperado'Hll Wrld' - Entrada
removeVowels('QA')Esperado'Q'
Os testes ocultos rodam no envio