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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started