contar letras javascript code example
Example: disemvowel javascript
function disemvowel(str) {
var newStr = "",
i;
for (i = 0; i < str.length; i++) {
if ("aeiou".includes(str[i].toLowerCase())) continue;
newStr += str[i];
}
return newStr;
}
console.log(disemvowel("This website is for losers LOL!"));