0
Free MOCK
Apply Internship
Blog
Learning
Roadmap
Others
Login
Beginner
JavaScript
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
Show Solution
Reset
Output
Run Code
Click 'Run Code' to see the output