Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Javascript
select elements of an array starting by a vowel
bob
Programming language:
Javascript
2021-07-04 11:23:35
0
Q:
select elements of an array starting by a vowel
Louis
Code:
Javascript
2021-06-06 19:33:14
let array = ["ananas", "banana", "kiwi"]; array.filter(str => /^[aeiou]/i.test(str));
0
Tags
array
element
start
select
Related
vowel array
how to make a vowel counter in javascript
find the vowel js
Convert longest string in array
find vowel & consonants in a string java script
New to Communities?
Join the community