Question
you will show off your understanding of arrays and the methods associated with arrays. Most of the methods you'll need to use can be found
you will show off your understanding of arrays and the methods associated with arrays.
Most of the methods you'll need to use can be found on, https://www.w3schools.com/js/js_array_sort.aspLinks to an external site.
1) Create the three arrays array0, array1, array2 as shown in the figure below.
2) You will then merge the three arrays together to form one array.
3) You need to sort the merged array.
4) You need to reverse sort the merged array. Hint https://www.w3schools.com/Jsref/jsref_concat_array.aspLinks to an external site.
5) Pick the maximum value from the members of the merged array.
6) Pick the minimum value from the members of the merged array.
Click the button to merge three arrays together. Sort, then reverse the merged array. Pick the maximum and minimum values. Array Methods Array0: 1,2,81,91,31,45,55 Array1: 6,7,18,19 Array2: 0,11,53,24,12,13,14 Merged: 1,2,81,91,31,45,55,6,7,18,19,0,11,53,24,12,13,14 Sorted: 0,1,11,12,13,14,18,19,2,24,31,45,53,55,6,7,81,91 Reversed: 91,81,7,6,55,53,45,31,24,2,19,18,14,13,12,11,1,0 Maximum = 91 Minimum = 0
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