javascript code to remove vowels from a string using for loop in Javascript code example
Example: remove vowels from string javascript
var strings = ["bongo drums", "guitar", "flute", "double bass",
"xylophone","piano"];
string = strings.map(x=>x.replace( /[aeiou]/g, '' ));
console.log(string);