Question: function _ten(my_string) Create a JavaScript function that meets the following requirements: COMP1231 - ASSIGNMENT 1 8 a. Create a JavaScript function that accepts a string
function _ten(my_string)
Create a JavaScript function that meets the following requirements:
COMP1231 - ASSIGNMENT 1 8
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 10 **************
Calling _ten(Sameer);
The string converted in alphabetical order is: aeemeS
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
