Created
May 19, 2017 12:23
-
-
Save rodpoblete/4e10674d87ba8efd640d69f66da28e5d to your computer and use it in GitHub Desktop.
Función para eliminar vocales de una cadena de texto
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function disemvowel(str) { | |
return str.replace(/[aeiou]/ig,''); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
¿Cómo lo harías con un bucle for?