Question: Write a JavaScript function that is passed a string and returns the number of letters, vowels, and digits as a JSON object. For example, if

Write a JavaScript function that is passed a string and returns the number of letters, vowels, and digits as a JSON object.

For example, if passed the string Wednesday March 4, 2021 9:42 AM it should return: { letters: 30, vowels: 5, digits: 8}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!