We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fe28ab commit 9776905Copy full SHA for 9776905
vowels.js
@@ -0,0 +1,4 @@
1
+function vowels(str) {
2
+ const matches = str.match(/[aeiou]/gi);
3
+ return matches ? matches.length : 0;
4
+}
0 commit comments