Question: QUESTION #1 Create a JavaScript function that follows the requirements: Receives character array The function reverses the order of the character array. Displays the results
QUESTION #1
Create a JavaScript function that follows the requirements:
Receives character array
The function reverses the order of the character array.
Displays the results to the console below:
Calling _seven([j, p, g, F, c, x, A, c, q, I]); Original order array = [j, p, g, F, c, x, A, c, q, I] Reversed order array = [I, q, c, A, x, c, F, g, p, j]
QUESTION #2
Create a JavaScript function that follows the requirements:
Receives no input parameters
Determines the number of days until the end of the school year
NOTE: the last day of the School Calendar is: Friday, April 23rd, 2021
Displays the result to the console below
Calling _eight()
Current date = 02/23/21, last day of school = 04/23/21. There are __ days left of school.
QUESTION #3
Create a JavaScript function that follows the requirements:
Accepts a string parameter, counting the number of vowels within the string.
The function should be case insensitive, handling both upper and/or lowercase letters.
Displays the result to the console below.
Calling _nine(flugelhorn); Vowel count: A=0, E=1, I=0, O=1, U=1, Y=0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
