Question: JavaScript Practice 1.Count Vowels function CountVowels(word) { }; Create a JavaScript function that meets the following requirements: 1. Accepts a string parameter, counting the number

JavaScript Practice

1.Count Vowels

function CountVowels(word) {

};

Create a JavaScript function that meets the following requirements:

1. Accepts a string parameter, counting the number of vowels within the string.

2. The function should be case insensitive, handling both upper and/or lowercase letters.

3. Displays the result to the console as illustrated below.

2.Alphabetical

function Alphabetical(my_string) {

};

Create a JavaScript function that meets the following requirements:

a. Create a JavaScript function that accepts a string parameter, then organizes the string so its in alphabetical order.

b. The function is case insensitive, that is, it does not distinguish any difference between upper or lower case.

c. Displays the result to the console as illustrated below.

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!