Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

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!"));
Comment

PREVIOUS NEXT
Code Example
Javascript :: Orderby on multiple columns using typeorm 
Javascript :: npm font awesome 5 angular 7 
Javascript :: how to clear an input in testing library 
Javascript :: exist element js 
Javascript :: javascript size array 
Javascript :: mocha config 
Javascript :: javascript await 
Javascript :: how to validate email in node js 
Javascript :: How to Close a React Native Modal with a Button 
Javascript :: vowels Count js 
Javascript :: get keys length jquery 
Javascript :: merge sort algorithm in javascript 
Javascript :: find object in json array 
Javascript :: compare mongoose id 
Javascript :: jquery from object to queryselector 
Javascript :: ubuntu internet speed booster 
Javascript :: jquery timepicker get value onchange 
Javascript :: window.cookies javascript 
Javascript :: javascript rock paper scissors 
Javascript :: regex not something 
Javascript :: wordpress ajax trigger code 
Javascript :: nodejs download file 
Javascript :: bootstrap not working in print 
Javascript :: js catch rejected promise 
Javascript :: innertext of input js 
Javascript :: clean collection mongoose 
Javascript :: lodash reduce 
Javascript :: react bootstrap col not working 
Javascript :: if browsertab is active jquery 
Javascript :: js alert new line 
ADD CONTENT
Topic
Content
Source link
Name
3+6 =