โ† All coding problems

Count vowels

EasyStrings

Return how many vowels (a, e, i, o, u, either case) are in s.

Function
function solve(s)
Example 1
s = "Training"
โ†’ 3

Submit also runs 3 hidden tests, including edge cases.

console.log output is shown below