how to remove vowels in react variable 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);