Skip to content

Instantly share code, notes, and snippets.

@rodpoblete
Created May 19, 2017 12:23
Show Gist options
  • Save rodpoblete/4e10674d87ba8efd640d69f66da28e5d to your computer and use it in GitHub Desktop.
Save rodpoblete/4e10674d87ba8efd640d69f66da28e5d to your computer and use it in GitHub Desktop.
Función para eliminar vocales de una cadena de texto
function disemvowel(str) {
return str.replace(/[aeiou]/ig,'');
}
@pilarguz10
Copy link

¿Cómo lo harías con un bucle for?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment