Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

disemvowel trolls codewars 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;
}
Comment

PREVIOUS NEXT
Code Example
Javascript :: keydown event 
Javascript :: react canvas clear 
Javascript :: netlify refresh page not found 
Javascript :: jquery get document scrolltop 
Javascript :: regex match to first instance 
Javascript :: datepicker get selected date 
Javascript :: document selector query change value 
Javascript :: set bg image in react 
Javascript :: too many open files react native 
Javascript :: JavaScript - How to get the extension of a filename 
Javascript :: random number generator javascript 
Javascript :: how to update the object value of any array key based on value 
Javascript :: javascript check if set 
Javascript :: falsy values in array 
Javascript :: what is sus imposter 
Javascript :: how to get file size in node js 
Javascript :: class constructor 
Javascript :: p5.js create button 
Javascript :: gulp del 
Javascript :: foreach object js 
Javascript :: next js navigation to other page in a function 
Javascript :: html video autoplay not working 
Javascript :: await inside map js 
Javascript :: next router push state 
Javascript :: express api make 
Javascript :: spacebar event listener 
Javascript :: mongodb filter empty array 
Javascript :: get current date 
Javascript :: javascript use camera 
Javascript :: js console.log color 
ADD CONTENT
Topic
Content
Source link
Name
9+9 =