Skip to content

Instantly share code, notes, and snippets.

@iamkevinlowe
Created November 7, 2018 17:31
Show Gist options
  • Save iamkevinlowe/dd33178413586b7599ccc43302d33807 to your computer and use it in GitHub Desktop.
Save iamkevinlowe/dd33178413586b7599ccc43302d33807 to your computer and use it in GitHub Desktop.
// Write a function that takes a string as an argument and returns the number of vowels (a, e, i, o, u) it contains.
// Example: foo('Hello World'); => 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment