Skip to content

Instantly share code, notes, and snippets.

View meta103's full-sized avatar

Marcos Tagliabue meta103

  • Barcelona, Spain
View GitHub Profile
//Is there a vowel in there?
function isVow(array){
for (i=0; i<array.length; i++){
if (array[i]==="a".charCodeAt()) {
array.splice(i, 1, "a");
} else if (array[i]==="e".charCodeAt()) {
array.splice(i, 1, "e");
} else if (array[i]==="i".charCodeAt()) {
array.splice(i, 1, "i");
} else if (array[i]==="o".charCodeAt()) {