Question : disemvowel trolls codewars javascript
Answered by : important-ibis-37uc51vik9o4
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;
}
Source : | Last Update : Tue, 01 Feb 22