logo
Search
showing results for - "disemvowel javascript"
Alexandre
30 Nov 2018
1function disemvowel(str) {
2    var newStr = "",
3        i;
4
5    for (i = 0; i < str.length; i++) {
6        if ("aeiou".includes(str[i].toLowerCase())) continue;
7        newStr += str[i];
8    }
9    return newStr;
10}
11
12console.log(disemvowel("This website is for losers LOL!"));
source
similar questions
javascript redirectiondestructuring in javascripthow to do division in javascriptjavascript describehow to make javascript make things disappearshort if statements in javascripthow to select div jsjavascript getelementbyid disablejavascript disable inputstop a function javascriptdecode ways javascripthtml javascript redirectredirect to website javascriptjs invoke functiondianne javascript studyhow to destroy a computer using javascriptjavascript add dom disabledjs destructuring explainedpause javascriptjs select div
queries leading to this page
disemvowel javascriptcontar letras javascriptdisemvowel jsdisemvowel javascript
privacy policyterms of useinstagram
Crafted with  ♥  for everyone

sign in to continue
your answer for
you will get a confirmation link on this - you will have to click that for successful submission of your answer. we require this to keep the website free of spam, bots and unhelpful content
please ensure to add code which is syntactically corrent and executes properly
sign in to continue
ask question on maxinterview
you will get a confirmation link on this - you will have to click that for successful submission of your question. we require this to keep the website free of spam, bots and unhelpful content
please be clear, to the point and respectful
sign in to continue