BeginnerJavaScript

Count vowels in a string

Write a function that counts the number of vowels in a given string.

Examples

Input: "hello world"

Output: 3

Your Solution

Output

Click 'Run Code' to see the output